Blackstar Posted December 3, 2006 Posted December 3, 2006 (edited) Do AutoIT have checkbox control for menuitem? Not to be mistaken as checkmark control.I need to have checkmark for "Autostart MyApp" and after that a checkbox as " and minimize" both in $MenuItem2$MenuItem1 = GUICtrlCreateMenu("Options")$MenuItem2 = GUICtrlCreateMenuitem("Auto Start MyApp", $MenuItem1)GUICtrlSetState($MenuItem2, $GUI_UNCHECKED) Edited December 3, 2006 by Blackstar
martin Posted December 3, 2006 Posted December 3, 2006 Do AutoIT have checkbox control for menuitem? Not to be mistaken as checkmark control.I need to have checkmark for "Autostart MyApp" and after that a checkbox as " and minimize" both in $MenuItem2$MenuItem1 = GUICtrlCreateMenu("Options")$MenuItem2 = GUICtrlCreateMenuitem("Auto Start MyApp", $MenuItem1)GUICtrlSetState($MenuItem2, $GUI_UNCHECKED)I have no idea how to do what you've asked for, but why not have 2 menu items? $MenuItem1 = GUICtrlCreateMenu("Options")$MenuItem2 = GUICtrlCreateMenuitem("Auto Start MyApp Minimised", $MenuItem1)$MenuItem3 = GUICtrlCreateMenuitem("Auto Start MyApp Maximised", $MenuItem1) Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.
Blackstar Posted December 3, 2006 Author Posted December 3, 2006 I have no idea how to do what you've asked for, but why not have 2 menu items? $MenuItem1 = GUICtrlCreateMenu("Options")$MenuItem2 = GUICtrlCreateMenuitem("Auto Start MyApp Minimised", $MenuItem1)$MenuItem3 = GUICtrlCreateMenuitem("Auto Start MyApp Maximised", $MenuItem1)I have thought about that before but I dont like to clutter up the menu...
GaryFrost Posted December 3, 2006 Posted December 3, 2006 I believe Holger did those, ownerdrawn http://www.autoitscript.com/forum/index.ph...c=20967&hl=If you use SciTE for AutoIt, run Snippet Holder while in SciTE and have an .au3 file open, check out the menu options, Config/Dock Edit Window SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference.
Blackstar Posted December 4, 2006 Author Posted December 4, 2006 I looked in to that and it doesnt seem have that feature for menu checkbox...
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