Holger Posted August 26, 2005 Posted August 26, 2005 (edited) Just for your information: If you want to use some specific GUI-color-commands and have Visual Styles/Themes (not XP-Classic-Theme) enabled they sometimes will not work.One possibility is to turn off the using of visual styles with a small "DllCall"-command in your script.The best is if you place it at the beginning of your script before showing a GUI.More infos also are here available:http://msdn.microsoft.com/library/default....pproperties.asp; Functionality : ; just info about possibility to turn of theme-using in scripts/compiled-exe with using GUI stuff ; $nFlag = 0 ; Visual styles are completely disabled in the running script ; $nFlag = 1; Nonclient areas of the GUI can use visual styles ; $nFlag = 2; Controls can use visual styles (like Buttons, Progressbar, Group-ctrl's, etc.) ; $nFlag = 4; Web content displayed ??? (info from MSDN) can use visual styles ; ; These flags can be combined with BitOr(...) DllCall("uxtheme.dll", "none", "SetThemeAppProperties", "int", $nFlag)Regards Holger Edited August 26, 2005 by Holger WRed 1 Old project:GUI/Tray menu with icons and colors Other old stuff:IconFileScanner, TriState/ThreeState GUI TreeView, GUI ContextMenu created out of a TreeView
layer Posted August 26, 2005 Posted August 26, 2005 Nice !! I switched to classic theme, but I think this will be very useful to anyone who has a progress bar in their GUI Thanks FootbaG
GaryFrost Posted August 26, 2005 Posted August 26, 2005 Tried it already in the Progress Bar with %, Thanks Holger Gary SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference.
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