Jump to content

set color what do i wrong


Recommended Posts

Why is set color not working.

#include <ColorConstants.au3>
#include <GUIConstantsEx.au3>

Example()

Func Example()
      Local $hGUI = GUICreate("addon downloader mozilla")
      Local $hidden = GUICtrlCreateMenu("test")
      Local $checksel = GUICtrlCreateMenuItem("Check selected",$hidden)
      GUICtrlSetColor ( $checksel, $COLOR_RED )
      GUISetState(@SW_SHOW, $hGUI)

       While 1
        Switch GUIGetMsg()
            Case $GUI_EVENT_CLOSE
                ExitLoop
        EndSwitch
    WEnd
EndFunc
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...