|
-
September 12th, 2008, 10:20 AM
#1
Programmatically change combobox
I need to update a combobox with a new value so it changes the reflected text in it. The cleanest way to do this is after the combobox has been initialised and with a message.
So I am trying to craft a postmessage to the hwnd that contains the combobox.
So if I want to send a message to it, changing the currently selected item to the nth item, what would the PostMessage look like?
I am guessing that it would involve ON_CBN_SELCHANGE, but I can't get it to work right.
Thanks, G.
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
|