Jump to content
Sign in to follow this  

how to hange the look to make it 2d?

Recommended Posts

hi all I like to make this look like the color is recessed in the box so if i hit one button all get red an the other all get green thanks beau

#include <GUIConstants.au3>

#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("AForm1", 633, 447, 193, 115)
$Button1 = GUICtrlCreateButton("AButton1", 48, 168, 65, 33, 0)
$Button2 = GUICtrlCreateButton("AButton2", 184, 168, 73, 33, 0)
$Group1 = GUICtrlCreateGroup("", 296, 256, 41, 41)
$Graphic1 = GUICtrlCreateGraphic(312, 272, 17, 17)
GUICtrlSetBkColor(-1, 0xFF0000)
GUICtrlCreateGroup("", -99, -99, 1, 1)
#EndRegion ### END Koda GUI section ###

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

    ;Case $AForm1

    ;Case $AForm1

    ;Case $AForm1

        Case $Button1
GUICtrlSetBkColor(-1, 0xFF0000)
        Case $Button2

        GUICtrlSetBkColor(-1, 0x008000)
        Case $Graphic1

Share this post

Link to post
Share on other sites

What are the problems you have? What is it you don't understand? You didn't ask a single question.

the box i have now is flat i went to it more 2d

also I am not sure i did to color change in correct place

thanks beau

Edited by n9mfk9

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  

  • Create New...