Forum
Please
Log In
to post a new message or reply to an existing one. If you are not registered, please
register.
NOTE: Some forums may be read-only if you are not currently subscribed to
our technical support services.
Subject |
Author |
Date |
|
Arkin Terli
|
Mar 9, 2006 - 7:17 AM
|
Hi,
I have a dialog created with CExtResizableDialog and a Color Picker with CExtColorButton. I want to handle its event in dialog...
How do i do that?
Thank you
Arkin
|
|
Technical Support
|
Mar 9, 2006 - 12:11 PM
|
You need to handle the CExtPopupColorMenuWnd::g_nMsgNotifyColorChangedFinally registered Windows message as in the CPageButtons::OnColorChangedFinally() method of the ProfUIS_Controls sample: afx_msg LRESULT OnColorChangedFinally( WPARAM wParam, LPARAM lParam )
ON_REGISTERED_MESSAGE(
CExtPopupColorMenuWnd::g_nMsgNotifyColorChangedFinally,
OnColorChangedFinally
)
LRESULT CPageButtons::OnColorChangedFinally(WPARAM wParam, LPARAM lParam)
{
. . . The lParam parameter is equal to the CExtColorButton::m_lParamCookie property of the color button which sent the notification message. This property should be used if there are more than one color button is created in your dialog window.
|
|