Re: WTL CCombobox with CBS_DROPDOWNLIST style
- From: "Phil" <phil@xxxxxxxxxx>
- Date: Sun, 06 May 2007 19:03:05 GMT
I kind of fixed my problem by modifying the resource file (*.rc) with a text
editor replacing CBS_DROPDOWN by CBS_DROPDOWNLIST.
Actually after doing this I noticed the member "Type" under
"Properties/Behavior" in resource editor... I would have sworn it was not
there before :-(
Sorry...
"Phil" <phil@xxxxxxxxxx> wrote in message
news:Sgp%h.161451$ld5.1127474@xxxxxxxxxxxxxxxxxxxxxxxx
I would like to make a drop down list type combobox with the standard WTL
controls.
At the moment all of my controls are initialized with DDX_CONTROL_HANDLE()
so I am not invoking any Create() functions for the controls directly in
OnInitDialog().
I would like to modify the Combobox control from default DROPDOWN style
into DROPDOWNLIST style. I was expecting an option to modify this in the
resource editor but it does not seem possible.
I have my WTL combobox already up and running perfectly. I would just like
to avoid user editing so the user can only select from a predefined list.
Can anyone tell me how I can do this ?
.
- References:
- WTL CCombobox with CBS_DROPDOWNLIST style
- From: Phil
- WTL CCombobox with CBS_DROPDOWNLIST style
- Prev by Date: WTL CCombobox with CBS_DROPDOWNLIST style
- Next by Date: Passing HANDLE
- Previous by thread: WTL CCombobox with CBS_DROPDOWNLIST style
- Next by thread: Passing HANDLE
- Index(es):
Relevant Pages
|