Re: [WIN] "open" simple combo box programmatically
- Posted by Dan B Moyer <DANMOYER at PRODIGY.NET> Oct 21, 2000
- 527 views
Derek, Oh. Nuts. Well, then, is there a way to make a Combo box with *user specified* styles, so I can make one that has a static label *like* the "SimpleCombo" that Win32Lib creates, but *without* having CBS_SIMPLE style? So it would have only WS_CHILD, WS_VISIBLE, CBS_DROPDOWNLIST (for making it have the static label instead of edit box), CBS_HASSTRINGS, and WS_TABSTOP ? (in other words, all the styles the "SimpleCombo" has, *except* CBS_SIMPLE ) Dan ----- Original Message ----- From: "Derek Parnell" <dparnell at BIGPOND.NET.AU> To: <EUPHORIA at LISTSERV.MUOHIO.EDU> Sent: Friday, October 20, 2000 10:55 PM Subject: Re: [WIN] "open" simple combo box programmatically > According to Microsoft, CB_SHOWDROPDOWN has no effect on CBS_SIMPLE style > combo boxes. > ------ > Derek Parnell > Melbourne, Australia > (Vote [1] The Cheshire Cat for Internet Mascot) > > > > BTW: > > I'm using a SIMPLE combo box on purpose, as opposed to a "regular" combo > > box, as it makes the "edit" line into a static text box instead of being > > editable, and I think maybe the *style* definitions for "simple" combo box > > in Win32Lib may be at least a part of what's going on, because "simple" CB > > has no scroll bar, and I think maybe CB_SHOWDROPDOWN may be showing the > list > > in relation to the scroll bar that isn't there (in other words, it only > > shows *some* of the elements of the list, expecting that a scroll bar > would > > be there to be used to show the rest of them). > >