• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 511
  • 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

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

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