|
-
December 22nd, 2005, 10:23 AM
#6
Re: Single Event Handle for Multiple Controls
 Originally Posted by greekgoddj
Well its safe to say now that ON_CONTROL_RANGE is not suitable to be used with ActiveX controls...
Are you sure it is?
so the new question is...What is?
I'm not sure about what exact thing you're trying to do, but I suppose you're trying to fire some event from AX depending on the fact some of the buttons were clicked, right? Well, for this purpose you have to have message map in your AX along with the ON_CONTROL_RANGE inside, and some event which must be fired on button clicking. Apparently AX event must pass some value related to ctrlID which was clicked. Having these all you just fire AX event from inside control range handler. Easy, ain't it?
Best regards,
Igor
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
|