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

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

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

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

Search



Quick Links

User menu

Not signed in.

Misc Menu