|
-
December 22nd, 2005, 10:29 AM
#6
Re: Single Event Handle for Multiple Controls
Did you ponder about the point that Igor made?
ON_CONTROL_RANGE macro works for pre-defined notifications from MFC controls. I doubt that it could be extended to handle events fired by your ActiveX controls (even if your ActiveX control is generated by MFC).
So your first approach seems quite the way i.e. using ON_EVENT in the EVENT SINK MAP
What you need is something like ON_EVENT_RANGE and it is precisely what is available.
Please see ON_EVENT_RANGE macro
If there is no love sun won't shine
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
|