Re: [WIN] "open" simple combo box programmatically

new topic     » goto parent     » topic index » view thread      » older message » newer message

Dan B Moyer wrote:

> Is it possible to "open" a simple combo box programmatically?

Yes.  Send the CB_SHOWDROPDOWN message:

CB_SHOWDROPDOWN

wParam = (WPARAM) (BOOL) fShow;     // the show/hide flag
lParam = 0;                         // not used; must be zero

-- Sample usage

constant CB_SHOWDROPDOWN = 335 -- not defined in win32lib
junk = sendMessage( MyCombo, CB_SHOWDROPDOWN, True, 0 )

-- end sample

Matt

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu