You can use this function from guiness. ; #FUNCTION# =========================================================================================================
; Name...........: _GUICtrlSetTheme
; Description ...: Sets a 'themed' Control with the ability to change the color of the control
; Syntax.........: _GUICtrlSetTheme($iControl = -1, $bThemeColor = 0x24D245)
; Parameters ....: $iControl - [optional] A valid control ID. Default = -1 (last control ID)
; $hHandle - [optional] A valid Hex color value. Default = 0x24D245
; Requirement(s).: v3.3.0.0 or higher
; Return values .: Success - Returns a value from the 'SetWindowTheme' DLL call.
; Failure - Returns 0 with @extended set as 1.
; Author ........: guinness.
; Example........; Yes
;=====================================================================================================================
Func _GUICtrlSetTheme($iControl = -1, $bThemeColor = 0x24D245)
If Not IsHWnd($iControl) Then $iControl = GUICtrlGetHandle($iControl)
Local $aReturn = DllCall("UxTheme.dll", "int", "SetWindowTheme", "hwnd", $iControl, "wstr", 0, "wstr", 0)
If @error Then Return SetError(1, 1, 0)
GUICtrlSetColor($iControl, $bThemeColor)
Return $aReturn[0]
EndFunc ;==>_GUICtrlSetThemeOr just use DllCall("UxTheme.dll", "int", "SetWindowTheme", "hwnd", <whatver variable points to the control>, "wstr", 0, "wstr", 0) after the control is created.