|
-
March 23rd, 2004, 10:53 AM
#1
MFC Combo troubles
Hi,
I have an MFC Dialog based application with comboboxes.
I need to change the drop height of the combo box plus the type (Simple, Drop Down, etc) in code.
ModifyStyle() doesn't seem to be working on changing the type from CBS_SIMPLE to CBS_DROPDOWN and vice versa, and there does not seem to be a function to change the drop height.
How can I do this??
Thanks
Jim
-
March 23rd, 2004, 11:51 AM
#2
I need to change the drop height of the combo box plus the type (Simple, Drop Down, etc) in code.
As for the drop height, take a look at this Joseph M. Newcomer's sample:
A Dynamically-Resized Combo Box
-
March 23rd, 2004, 03:12 PM
#3
Many styles cannot be changed after a window has been created and the type of change you need to make seems to be especially unliklely to be possible.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|