gamepin126 Posted September 4, 2006 Posted September 4, 2006 (edited) When I create a form in Koda, it seems to color the text perfectly, however when I run the script via scite, the text is black. I looked at the color that I chose, it's ClSkyBlue, and not something like ClBackground. I was just wondering if this was supposed to happen, or if I did something wrong. CODE#include <GUIConstants.au3> ; == GUI generated with Koda == $Form1 = GUICreate("GPSpam v1.3", 267, 464, 351, 204) GUISetBkColor(0x000000) GUICtrlCreateLabel("1", 16, 16, 10, 17) GUICtrlSetColor(-1, 0xA6CAF0) GUICtrlSetBkColor(-1, 0x000000) GUICtrlCreateLabel("1", 16, 40, 10, 17) GUICtrlSetColor(-1, 0xA6CAF0) GUICtrlSetBkColor(-1, 0x000000) $Input1 = GUICtrlCreateInput("", 32, 16, 209, 21) $Input2 = GUICtrlCreateInput("", 32, 48, 209, 21) $Input3 = GUICtrlCreateInput("", 32, 80, 209, 21) $Input4 = GUICtrlCreateInput("", 32, 112, 209, 21) $Input5 = GUICtrlCreateInput("", 32, 144, 209, 21) $Input6 = GUICtrlCreateInput("", 32, 176, 209, 21) $Input7 = GUICtrlCreateInput("", 32, 208, 209, 21) $Input8 = GUICtrlCreateInput("", 32, 240, 209, 21) $Input9 = GUICtrlCreateInput("", 32, 272, 209, 21) $Input0 = GUICtrlCreateInput("", 32, 304, 209, 21) GUICtrlCreateLabel("1", 16, 80, 10, 17) GUICtrlSetColor(-1, 0xA6CAF0) GUICtrlSetBkColor(-1, 0x000000) GUICtrlCreateLabel("1", 16, 112, 10, 17) GUICtrlSetColor(-1, 0xA6CAF0) GUICtrlSetBkColor(-1, 0x000000) GUICtrlCreateLabel("1", 16, 144, 10, 17) GUICtrlSetColor(-1, 0xA6CAF0) GUICtrlSetBkColor(-1, 0x000000) GUICtrlCreateLabel("1", 16, 176, 10, 17) GUICtrlSetColor(-1, 0xA6CAF0) GUICtrlSetBkColor(-1, 0x000000) GUICtrlCreateLabel("1", 16, 208, 10, 17) GUICtrlSetColor(-1, 0xA6CAF0) GUICtrlSetBkColor(-1, 0x000000) GUICtrlCreateLabel("1", 16, 240, 10, 17) GUICtrlSetColor(-1, 0xA6CAF0) GUICtrlSetBkColor(-1, 0x000000) GUICtrlCreateLabel("1", 16, 272, 10, 17) GUICtrlSetColor(-1, 0xA6CAF0) GUICtrlSetBkColor(-1, 0x000000) GUICtrlCreateLabel("1", 16, 304, 10, 17) GUICtrlSetColor(-1, 0xA6CAF0) GUICtrlSetBkColor(-1, 0x000000) $Rad_Ctrl= GUICtrlCreateRadio("CTRL", 104, 360, 57, 17) GUICtrlSetColor(-1, 0xA6CAF0) GUICtrlSetBkColor(-1, 0x000000) $Rad_Alt = GUICtrlCreateRadio("ALT", 176, 360, 57, 17) GUICtrlSetColor(-1, 0xA6CAF0) GUICtrlSetBkColor(-1, 0x000000) $Rad_Shift = GUICtrlCreateRadio("SHIFT", 24, 360, 65, 17) GUICtrlSetColor(-1, 0xA6CAF0) GUICtrlSetBkColor(-1, 0x000000) $Checkbox1 = GUICtrlCreateCheckbox("Press ENTER before sending message?", 24, 336, 209, 17) GUICtrlSetColor(-1, 0xA6CAF0) GUICtrlSetBkColor(-1, 0x000000) GUICtrlCreateLabel("Select either SHIFT, CTRL or ALT and then hold that button, and press the corresponding numbered message to spam.", 16, 392, 230, 41) GUICtrlSetColor(-1, 0xFFFF00) GUICtrlSetBkColor(-1, 0x000000) GUICtrlCreateLabel("GAMEPIN126", 88, 440, 71, 17) GUICtrlSetColor(-1, 0x000080) GUICtrlSetBkColor(-1, 0x000000) GUISetState(@SW_SHOW) Edited September 4, 2006 by gamepin126
BigDod Posted September 4, 2006 Posted September 4, 2006 It appears to be a problem caused by Windows themes. If you use Classic you will see the colours as intended. I have no idea how to fix this. Time you enjoyed wasting is not wasted time ......T.S. Elliot Suspense is worse than disappointment................Robert Burns God help the man who won't help himself, because no-one else will...........My Grandmother
GaryFrost Posted September 4, 2006 Posted September 4, 2006 expandcollapse popup#include <GUIConstants.au3> DllCall("uxtheme.dll", "none", "SetThemeAppProperties", "int", 0) ; == GUI generated with Koda == $Form1 = GUICreate("GPSpam v1.3", 267, 464, 351, 204) GUISetBkColor(0x000000) GUICtrlCreateLabel("1", 16, 16, 10, 17) GUICtrlSetColor(-1, 0xA6CAF0) GUICtrlSetBkColor(-1, 0x000000) GUICtrlCreateLabel("1", 16, 40, 10, 17) GUICtrlSetColor(-1, 0xA6CAF0) GUICtrlSetBkColor(-1, 0x000000) $Input1 = GUICtrlCreateInput("", 32, 16, 209, 21) $Input2 = GUICtrlCreateInput("", 32, 48, 209, 21) $Input3 = GUICtrlCreateInput("", 32, 80, 209, 21) $Input4 = GUICtrlCreateInput("", 32, 112, 209, 21) $Input5 = GUICtrlCreateInput("", 32, 144, 209, 21) $Input6 = GUICtrlCreateInput("", 32, 176, 209, 21) $Input7 = GUICtrlCreateInput("", 32, 208, 209, 21) $Input8 = GUICtrlCreateInput("", 32, 240, 209, 21) $Input9 = GUICtrlCreateInput("", 32, 272, 209, 21) $Input0 = GUICtrlCreateInput("", 32, 304, 209, 21) GUICtrlCreateLabel("1", 16, 80, 10, 17) GUICtrlSetColor(-1, 0xA6CAF0) GUICtrlSetBkColor(-1, 0x000000) GUICtrlCreateLabel("1", 16, 112, 10, 17) GUICtrlSetColor(-1, 0xA6CAF0) GUICtrlSetBkColor(-1, 0x000000) GUICtrlCreateLabel("1", 16, 144, 10, 17) GUICtrlSetColor(-1, 0xA6CAF0) GUICtrlSetBkColor(-1, 0x000000) GUICtrlCreateLabel("1", 16, 176, 10, 17) GUICtrlSetColor(-1, 0xA6CAF0) GUICtrlSetBkColor(-1, 0x000000) GUICtrlCreateLabel("1", 16, 208, 10, 17) GUICtrlSetColor(-1, 0xA6CAF0) GUICtrlSetBkColor(-1, 0x000000) GUICtrlCreateLabel("1", 16, 240, 10, 17) GUICtrlSetColor(-1, 0xA6CAF0) GUICtrlSetBkColor(-1, 0x000000) GUICtrlCreateLabel("1", 16, 272, 10, 17) GUICtrlSetColor(-1, 0xA6CAF0) GUICtrlSetBkColor(-1, 0x000000) GUICtrlCreateLabel("1", 16, 304, 10, 17) GUICtrlSetColor(-1, 0xA6CAF0) GUICtrlSetBkColor(-1, 0x000000) $Rad_Ctrl = GUICtrlCreateRadio("CTRL", 104, 360, 57, 17) GUICtrlSetColor(-1, 0xA6CAF0) GUICtrlSetBkColor(-1, 0x000000) $Rad_Alt = GUICtrlCreateRadio("ALT", 176, 360, 57, 17) GUICtrlSetColor(-1, 0xA6CAF0) GUICtrlSetBkColor(-1, 0x000000) $Rad_Shift = GUICtrlCreateRadio("SHIFT", 24, 360, 65, 17) GUICtrlSetColor(-1, 0xA6CAF0) GUICtrlSetBkColor(-1, 0x000000) $Checkbox1 = GUICtrlCreateCheckbox("Press ENTER before sending message?", 24, 336, 209, 17) GUICtrlSetColor(-1, 0xA6CAF0) GUICtrlSetBkColor(-1, 0x000000) GUICtrlCreateLabel("Select either SHIFT, CTRL or ALT and then hold that button, and press the corresponding numbered message to spam.", 16, 392, 230, 41) GUICtrlSetColor(-1, 0xFFFF00) GUICtrlSetBkColor(-1, 0x000000) GUICtrlCreateLabel("GAMEPIN126", 88, 440, 71, 17) GUICtrlSetColor(-1, 0x000080) GUICtrlSetBkColor(-1, 0x000000) GUISetState(@SW_SHOW) 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