Jump to content
Macro Express Forums

Having a floating menu appear and dissappear based on which window is active


Zarious
 Share

Recommended Posts

I've searched the forum over, and read some discussion on this topic, but no one has spelled out an answer yet to exactly what I'm looking for. I want a floating menu to appear when a particular window is in focus, and disappear, when that window goes out of focus.

 

I have managed to get it to appear when the window comes into focus "using a separate macro to activate it with the enable command", but I cannot figure out how to make it go away when the window is no longer in focus. Any suggestions?

Link to comment
Share on other sites

There was a discussion on this recently. Floyd created a pretty good example on opening and closing floating menus based on window titles.

 

As you have already discovered, a macro can be activated when a window or control gains focus, but there is no way to activate a macro (which would be used to disable a floating menu) on a Window Close event.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...