WTL CCombobox with CBS_DROPDOWNLIST style
- From: "Phil" <phil@xxxxxxxxxx>
- Date: Sun, 06 May 2007 18:38:42 GMT
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 ?
.
- Follow-Ups:
- Prev by Date: Re: How to disable(make gray) a CButton in WTL
- Next by Date: Re: WTL CCombobox with CBS_DROPDOWNLIST style
- Previous by thread: How to disable(make gray) a CButton in WTL
- Next by thread: Re: WTL CCombobox with CBS_DROPDOWNLIST style
- Index(es):