Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 510
  • Last Modified:

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

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
clintonJ
Asked:
clintonJ
1 Solution
 
alb66Commented:
Had you try to post a message to the parent?
0
 
clintonJAuthor Commented:
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: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now