UniStudent Posted July 4, 2007 Share Posted July 4, 2007 hum right im trying to get the top menu i.e. file edit etc to be the same colour as my gui's back ground but don't seem to be getting any were. but my BIG problem is the fact that i have created several gui's and i want them to link to each other i.e. when i press a button on one it loads the other but also closes the original. iv posted something like this before but didn't really get much joy. im hoping i don't have to just combine all the gui's into one then make things appear and dissapear as i think they will cause a conflict with each other. im open to any suggestions maby its possible to load it like a web page in frames eek i don't relay know. can any one offer any advice Link to comment Share on other sites More sharing options...
Zedna Posted July 4, 2007 Share Posted July 4, 2007 For more GUIs use GuiGetMsg(1)Look here for example Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
enaiman Posted October 4, 2007 Share Posted October 4, 2007 Sorry for "reviving" such an old post but it was adressing an issue I have to deal with right now. It's about changing the background color of a menu. ... tried GUICtrlSetBkColor without success: $filemenu = GUICtrlCreateMenu ("&File") GUICtrlSetBkColor(-1,0xF4F3EE) $fileitem = GUICtrlCreateMenuitem ("Open",$filemenu) Nothing changes. Is there another way to do it? Thanks, SNMP_UDF ... for SNMPv1 and v2c so far, GetBulk and a new example script wannabe "Unbeatable" Tic-Tac-Toe Paper-Scissor-Rock ... try to beat it anyway :) Link to comment Share on other sites More sharing options...
Siao Posted October 4, 2007 Share Posted October 4, 2007 (edited) SetMenuInfo is what you need. Take a look at GUICtrlGetHandle() example in Help file, it does exactly that. Auto3Lib also has wrappers for Menu API functions, although you probably won't need that. Edited October 4, 2007 by Siao "be smart, drink your wine" Link to comment Share on other sites More sharing options...
enaiman Posted October 4, 2007 Share Posted October 4, 2007 (edited) Thanks Siao for help but unfortunately it is not what I've been loking for. This manages to change Menu color - I'm looking for changing the color of the whole menu bar not for particular menu's. I'll try to show exactly what I need - if you're looking in the attached image you can see a clolor difference between the menu bar and the rest of the GUI (the menu is a bit "darker" and I would like to change its color). I've installed Auto3lib and haven't found an appropriate function there Edited October 4, 2007 by enaiman SNMP_UDF ... for SNMPv1 and v2c so far, GetBulk and a new example script wannabe "Unbeatable" Tic-Tac-Toe Paper-Scissor-Rock ... try to beat it anyway :) 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