Solved

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

Posted on 2008-06-09
2
479 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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

In Easy String Encryption Using CryptoAPI in C++ (http://www.experts-exchange.com/viewArticle.jsp?aid=1193) I described how to encrypt text and recommended that the encrypted text be stored as a series of hexadecimal digits -- because cyphertext may…
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 Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
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.

816 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now