Jump to content

Recommended Posts

Posted
#include <GUIConstantsEx.au3>
GUICreate("Demo - GUICtrlCreateFrame", 1060, 740, -1, -1)
GUICtrlCreateFrame(7, 7, 1046, 726, 14, "0xFA7D19")
GUISetState()

While 1
    Switch GUIGetMsg()
        Case $GUI_EVENT_CLOSE
            ExitLoop
    EndSwitch
WEnd

Func GUICtrlCreateFrame($Left, $Top, $Width, $Height, $Size, $Color)
    GUICtrlSetBkColor(GUICtrlCreateLabel("", $Left, $Top, $Width, $Size), $Color)
    GUICtrlSetBkColor(GUICtrlCreateLabel("", $Left, $Top, $Size, $Height), $Color)
    GUICtrlSetBkColor(GUICtrlCreateLabel("", $Left + $Width - $Size, $Top, $Size, $Height), $Color)
    GUICtrlSetBkColor(GUICtrlCreateLabel("", $Left, $Top + $Height - $Size, $Width, $Size), $Color)
EndFunc   ;==>GUICtrlCreateFrame

 

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
×
×
  • Create New...