|
-
January 9th, 2009, 11:27 AM
#2
Re: Selection Change of Combo Box from InitDialog
 Originally Posted by kirantoday
If I set combobox.SetCurSel(1) in InitDialog, the SelectionChange event is not invoked.
Yes, it is by design. From MSDN:
The CBN_SELCHANGE notification message is sent when the user changes the current selection in the list box of a combo box. The user can change the selection by clicking in the list box or by using the arrow keys.
 Originally Posted by kirantoday
How Can I achieve this.
As a "workaround" you could directly call the message handler of CBN_SELCHANGE notification.
Victor Nijegorodov
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
|