|
-
January 18th, 2009, 11:38 AM
#1
Teach Class Wizard recognizing custom event and creating automatically custom handler
I created a custom CWnd derived control, a BUTTON, like CButton but with extended custom functionalities.
Is there any way to let ClassWizard automatically handle the BN_CLICKED event like in a normal button control?
And is there any way to let ClassWizard automatically create handlers to events defined into the custom control, like BN_CLICKED? For example, let's say the button sends the BN_MOUSE_OVER event message, is it possible to teach ClassWizard in resource editor to show in the events of the control, the BN_MOUSE_OVER event, and to create the skeleton of the OnMouseOver function, all automatically like it does for BN_CLICKED events?
- Buzzyous -
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
|