Jump to content
Sign in to follow this  


Recommended Posts


Why doesn't this work? I'm leaning towards the hex code is wrong, I generated the color from Photoshop, so I don't know if that gives you hex or what.

#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$frmMain = GUICreate("Counter-Strike:Source Launcher", 257, 299, -1, -1, BitOR($WS_POPUP,$WS_CLIPSIBLINGS))
$btnClose = GUICtrlCreatePic(@ScriptDir & "Images\close_button.jpg", 240, 8, 12, 12, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))
$btnMinimize = GUICtrlCreatePic(@ScriptDir & "Images\minimize_button.jpg", 224, 14, 13, 6, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))
GUICtrlSetBkColor($frmMain, 0x5a6a50)
#EndRegion ### END Koda GUI section ###

While 1
    $nMsg = GUIGetMsg()
    Switch $nMsg
        Case $GUI_EVENT_CLOSE

Edited by FinalVersion

Share this post

Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.