Windows Messages |
Post Reply |
Author | |
Maui
Groupie Joined: 10 June 2004 Status: Offline Points: 95 |
Post Options
Thanks(0)
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 |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |