layer Posted November 12, 2004 Share Posted November 12, 2004 I'm making a Tray Manager and need some help...I have all of the basic code needed to run it except when using GUICtrlCreateButton, and you make the button, how do you make it so when it's pressed, it does something! I've used "If ControlClick ("the stuff", "here") then the command" but that doesnt work..i will show you the code after i finsih it, very soon Any suggestions? FootbaG Link to comment Share on other sites More sharing options...
layer Posted November 12, 2004 Author Share Posted November 12, 2004 (edited) Come on guys, this is really easy, but not for me... =( I just want it so that when you click a GUICtrlButton it does something, do you get it? I can make the buttons but when I make them they have no uses, how do I make it so that when you click it it does something? If you need anymore detail, just ask... *PS* heres a little example... GuiCtrlCreateButton ("TEST", -1, -1) Now what comes here? Now how do I make it user interactive? Edited November 12, 2004 by layer FootbaG Link to comment Share on other sites More sharing options...
Holger Posted November 12, 2004 Share Posted November 12, 2004 @layer: did you take a look in the helpfile? I mean the "Example" that is in the "GUICtrlCreateButton"-section Old project:GUI/Tray menu with icons and colors Other old stuff:IconFileScanner, TriState/ThreeState GUI TreeView, GUI ContextMenu created out of a TreeView Link to comment Share on other sites More sharing options...
layer Posted November 12, 2004 Author Share Posted November 12, 2004 (edited) heh, yes, i did, but that doesnt explain how to make the button so that when it is clicked, it does something, it just shows you how to make the button itself... oops, im smart, GUIRead () sorry for the inconvienence here folks, and thank you for the help, maybe i should start reading the return values huh? =P *EDIT* i actually wanted GuiCtrlSetOnEvent but i got it so its good now, sorry and thanks! Edited November 12, 2004 by layer FootbaG 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