Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Activating an OLE-Object on double-click in Microsoft Word

Status
Not open for further replies.

Olli1973

Technical User
Nov 3, 2002
2
DE
Hi Friends!
I´ve created an ActiveX Control with the Visual C++ MFC-ActiveX-Control-Wizard.
My Control is to be used (besides the normal use for example in VB forms) as OLE-object in Microsoft Word. When inserting it in a Word-document it is a windowless control in an inactive state.
What i want now is that it becomes activated on double-click and that it creates an own window on activation.
The problem is that my control doesn´t receive any window-messages from the container (Word) due to it´s inactive state (although i enabled mouse interaction while inactive), so that it´s imbossible do detect a double-click.

Please help!!!
Thanks
Olli.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top