Jump to content

How do I set GuiRegisterMsg to get messages for a child window?


 Share

Recommended Posts

I coded a second GUICreate to make a toolbar of sorts.

I want to use GuiRegisterMsg to capture the $LBUTTTON_DOWN for this toolbar.

I  got messages to trigger the new function if i click in the first or Parent GUI, but when i click on the second window or toolbar,

It does not even call the function pointed to by GuiRegisterMsg.

 

How do I get GuiRegisterMsg to point to the second window?

 

 

 


 

Link to comment
Share on other sites

  • Moderators

The Wiki has great information on this very subject:

https://www.autoitscript.com/wiki/Managing_Multiple_GUIs

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Link to comment
Share on other sites

Ok, I read that page,

Thank you for the reply,

But, this does not cover pointing GuiRegisterMessage to a child window. I need to trap the event before it happens, not after it happens.

If you find anything on that, I would appreciate it.

 


 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...