Re: [WIN] "open" simple combo box programmatically
- Posted by Dan B Moyer <DANMOYER at PRODIGY.NET> Oct 20, 2000
- 556 views
Matt, Thanks!!! I'm really glad you included the "sample usage", that's a wonderful practice. Dan ----- Original Message ----- From: "Matthew Lewis" <MatthewL at KAPCOUSA.COM> To: <EUPHORIA at LISTSERV.MUOHIO.EDU> Sent: Friday, October 20, 2000 8:22 AM Subject: Re: [WIN] "open" simple combo box programmatically > 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