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.
Bookmarks