Re: [WIN] "open" simple combo box programmatically
- Posted by Matthew Lewis <MatthewL at KAPCOUSA.COM> Oct 20, 2000
- 537 views
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