Code: Select all
Gui, Color, Red ; When to use this, remove the theme
; Gui, Font, S8 CRed ; Or this
Gui, Add, Tab3, w460 h330, Setup||Basic|General|Gameplay|Interface|Detail|View Distance|Foliage
Gui, Add, Text, x30 y54, Hi!
Gui, Show
Thank you!
Code: Select all
Gui, Color, Red ; When to use this, remove the theme
; Gui, Font, S8 CRed ; Or this
Gui, Add, Tab3, w460 h330, Setup||Basic|General|Gameplay|Interface|Detail|View Distance|Foliage
Gui, Add, Text, x30 y54, Hi!
Gui, Show
Code: Select all
Gui, Color, FBFBFFFB
I count 8 digits in your script......specify one of the 16 primary HTML color names or a 6-digit RGB color value (the 0x prefix is optional)...
Code: Select all
OnMessage( 15, "WM_PAINT" )
Global WinHandle
Global Brush := DllCall( "Gdi32.dll\CreateSolidBrush", "UInt", 0x0000FF )
; Gui, Color, Red ; When to use this, remove the theme
; Gui, Font, CBlue ; Or this
Gui, +LastFound +Resize +HwndWinHandle
Gui, Font, S15
Gui, Add, Text, x30 y4 +BackgroundTrans, Hi Color!
Gui, Add, Tab3, w460 h330, Setup||Basic|General|Gameplay|Interface|Detail|View Distance|Foliage
Gui, Show
WM_PAINT( wParam, lParam, Msg, Handle ) {
Local DC
Local Paint
Local Rect
VarSetCapacity( Paint, 64 )
VarSetCapacity( Rect, 16 )
If ( Handle == WinHandle ) {
DC := DllCall( "User32.dll\BeginPaint", "Ptr", Handle, "UInt", &Paint )
DllCall( "User32.dll\GetClientRect", "Ptr", Handle, "UInt", &Rect )
DllCall( "User32.dll\FillRect", "Ptr", DC, "UInt", &Rect, "UInt", Brush )
DllCall( "User32.dll\EndPaint", "Ptr", Handle, "UInt", &Paint )
DllCall( "User32.dll\UpdateWindow", "Ptr", Handle )
}
Return 0
}
Users browsing this forum: Bing [Bot], Rauvagol and 310 guests