Jump to content
Sign in to follow this  
sanhen

control style

Recommended Posts

sanhen

The GUI of AU3 can carry out thus of control a style?

post-18420-1202641064_thumb.jpg

Edited by sanhen

Share this post


Link to post
Share on other sites
BrettF
Zedna

#include <GUIConstants.au3>
    GUICreate("My Draw", 300, 200)

GuiCtrlCreateGraphic(20, 20, 100,20)
GUICtrlSetBkColor(-1,0x0000ff)
GUICtrlSetColor(-1,0)

GuiCtrlCreateLabel("123456789012345678901234567890", 20, 24, 300,20)
GUICtrlSetColor(-1,0xff0000)
GUICtrlSetBkColor(-1,$GUI_BKCOLOR_TRANSPARENT)

; ***

GuiCtrlCreateGraphic(20, 50, 100,20)
GUICtrlSetBkColor(-1,0x00ff00)
GUICtrlSetColor(-1,0)

GuiCtrlCreateLabel("123456789012345678901234567890", 20, 54, 300,20)
GUICtrlSetColor(-1,0x000000)
GUICtrlSetBkColor(-1,$GUI_BKCOLOR_TRANSPARENT)

GuiSetState()

Do
    $msg = GUIGetMsg()
Until $msg=$GUI_EVENT_CLOSE

Also look at GUICtrlCreateProgress()

Share this post


Link to post
Share on other sites
sanhen

Thanks.

Luminescence can only fonts?

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  

×