[comp.windows.ms.programmer] Notification of ComboBox Change???

rdthomps@vela.acs.oakland.edu (Robert D. Thompson) (05/23/91)

	Let's say I have some controls that I want to update/change
	every time the user selects a different item in a
	Combo-Box - how do I do it?

	The SDK is not very clear on this, or perhaps  I am missing
	something (I hope this isn't an FAQ)

	Any Quik comments would be appreciated.

	Thanks

bonneau@hyper.hyper.com (Paul Bonneau) (05/24/91)

In article <6532@vela.acs.oakland.edu> rdthomps@vela.acs.oakland.edu (Robert D. Thompson) writes:
>
>	Let's say I have some controls that I want to update/change
>	every time the user selects a different item in a
>	Combo-Box - how do I do it?
>
>	The SDK is not very clear on this, or perhaps  I am missing
>	something (I hope this isn't an FAQ)
>
The combobox will send its parent a WM_COMMAND with the
hiword of lParam set to CBN_SELCHANGE whenever the user
changes the selection.

cheers - Paul Bonneau.