Jump to content

Opt("TrayMenuMode",..): Proposed improvement for Help


c.haslam
 Share

Recommended Posts

Here is my suggestion for making the Help for TrayMenuMode clearer for the novice:

Changes how Tray items operate. The defaults (value 0) are:

  • The AutoIt items Script paused/Exit are appended to the user’s menu items
  • Items created with TrayCreateItem(..,..,.., 1) act like auto-radios; all others act like checkboxes
  • If an item has the $TRAY_DEFAULT state, making it the default item, this item is shown in bold, and double-clicking the tray icon executes this item
Other possible values are 1 , 3, 5, 9, 11 and 13. They remove or change features of Mode 0, and are additions of the following numbers:
  • 1: The AutoIt items Script paused/Exit are not shown
  • 2: Items act neither as checkboxes not as auto-radios, unless specified by calling TrayItemSetState(..,$TRAY_CHECKED)
  • 4: Double-clicking the tray icon has no effect. An item with the $TRAY_DEFAULT state still shows in bold.
  • 8: Several radio-like items in a group can be selected at the same time, i.e. they act as manual radios not auto-radios
I encourage comments, corrections and suggestions.

relates.

Edited by c.haslam
Spoiler

CDebug Dumps values of variables including arrays and DLL structs, to a GUI, to the Console, and to the Clipboard

 

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