|
-
March 15th, 2005, 01:31 AM
#1
Mouse event , ActiveX control
i have wiritten a activex control. I testted it using ActiveX test containser and in web application (in html). It works well.
But when include my activeX control in a dialog based application , mouse mouse events are not correctly posted to my activex control. Sometimes it posts sometimes it doesn't.
mouse down is also not posted. only when i clicked two times(not double click.one click after few seconds another click), one mouse down message is posted to my activex controls.
-
March 16th, 2005, 01:08 PM
#2
Re: Mouse event , ActiveX control
Hi,
The activeX controls message pump seems not to be activated.
Try to add the following line in the OnCreate event of your ActiveX.
Code:
OnActivateInPlace (TRUE, NULL); // == UI-Activate the control
To have more informations on that function, have a look in MSDN to :
PRB: MFC ActiveX Control in IE Doesn't Detect Keystrokes
Best regards!
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
|