Solved

Handling OnLButtonDown in parent window, when left button down takes place in activeX control

Posted on 2008-06-09
2
489 Views
Last Modified: 2013-11-20
I have a VC 6.0 app that has an active X control in it.  When the user left-clicks in the active X control, I need the parent window to be notified.  

Currently, the OnLButtonDown(...) message handler in the ActiveX control is handling the left-click, so the OnLButtonDown(....) handler in the parent window never gets called.

So, is there a way to continuing handling the mouse click in the activeX control, but ALSO immediately notify the parent window that a left-button-down event occurred?

Thanks ahead of time.
0
Comment
Question by:clintonJ
2 Comments
 
LVL 19

Accepted Solution

by:
alb66 earned 500 total points
ID: 21750088
Had you try to post a message to the parent?
0
 

Author Comment

by:clintonJ
ID: 21754688
I originally didn't know that post to the parent from the ActiveX control window.  But I took a look in the dialog wizard for my parent window, and found a click message handler.  That took care of it.

Thanks.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Excel Use VBA to get user's Mac Address for their computer 5 240
Unix Command -- Challenging  question 7 95
Resolve Dependency Issues 4 79
Capture logon name 13 86
Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

792 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question