WTS Posted June 19, 2006 Share Posted June 19, 2006 (edited) Hey there, how do I create a context menu with icons? Oops I forgot code. thanks #include <GUIConstants.au3> ; == GUI generated with Koda == $Form2 = GUICreate("AForm1", 900, 600, 149, 111) GUISetState(@SW_SHOW) $Menu = GUICtrlCreateContextMenu() $Menu2 = GUICtrlCreateMenuitem('Hello World',$Menu) GUICtrlSetImage('ico.ico',$Menu2) While 1 $msg = GuiGetMsg() Select Case $msg = $GUI_EVENT_CLOSE ExitLoop Case Else ;;;;;;; EndSelect WEnd Exit Edited June 19, 2006 by WTS Link to comment Share on other sites More sharing options...
Valuater Posted June 19, 2006 Share Posted June 19, 2006 take a look herehttp://www.autoitscript.com/forum/index.ph...=20967&hl=menu#8) 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