c.haslam Posted September 15, 2011 Share Posted September 15, 2011 (edited) 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 itemsItems created with TrayCreateItem(..,..,.., 1) act like auto-radios; all others act like checkboxesIf 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 itemOther 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 shown2: 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-radiosI encourage comments, corrections and suggestions. relates. Edited September 16, 2011 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 More sharing options...
c.haslam Posted September 16, 2011 Author Share Posted September 16, 2011 I do not seem to be able to get Opt("TrayMenuMode",8) to work. Opt("TrayMenuMode",8+1) does work OK. So are there bit combinations that don't work? 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 More sharing options...
c.haslam Posted September 16, 2011 Author Share Posted September 16, 2011 I have revised the original post based on experimentation. 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now