Jump to content

Opt("GUIOnEventMode",1) and ModernMenuRaw.au3


Chorda
 Share

Recommended Posts

Hi,

I have this programs with a window that contains a few icons and labels, as well as the same features in a system tray menu. I decided to upgrade the tray menu with the UDF of @Holger (great job @Holger!!).

http://www.autoitscript.com/forum/index.php?showtopic=23945&hl=traymenu+icon

In order to make my icons and labels in the window clickable I use Opt("GUIOnEventMode",1). But this command blocks the events from the new menu. When I remove Opt("GUIOnEventMode",1) my tray menu works perfectly, but then nothing works in my window. I can see that in sampleGUIandTray.au3 there is no Opt("GUIOnEventMode",1), yet it still works. I'm puzzled.

Any idea?

Thanks

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...