Solved

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

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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Suggested Solutions

Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
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.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

747 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