Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Suite Pro
  New Posts New Posts RSS Feed - Windows Messages
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Windows Messages

 Post Reply Post Reply
Author
Message
Maui View Drop Down
Groupie
Groupie


Joined: 10 June 2004
Status: Offline
Points: 95
Post Options Post Options   Thanks (0) Thanks(0)   Quote Maui Quote  Post ReplyReply Direct Link To This Post Topic: Windows Messages
    Posted: 06 June 2005 at 5:44am

Hi,

I have a usercontrol that I put in my programs. Within that usercontrol I subclass windows messages so that I know when the form my control is on is active.

For normal forms this message is WM_ACTIVATE, for midi forms it is WM_NCACTIVATE.

I have encountered a problem putting my control on a form that I use as a Pane in the Tab Control.

The problem is that neither of these messages are received by the form my control is on. It seems that when the form is attached as a Pane the windows messages stop going to it.

Is there anyone at Codejock that can shed some light on this problem for me?

In the short term I can get around the problem by removing the code from my control that tests to see if the form it is on is active, but thats not good for me long term and I would like to understand what is going on so that I can make my control more robust.

Thanks

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.156 seconds.