Sign in to follow this  
Followers 0
SirDarknight1200

Need help to learn some things

7 posts in this topic

#1 ·  Posted (edited)

1.How can I add a background in my gui?

(Image attached)

2.How can I change the cross,minimize and maximize buttons' color?

3.How to add a icon next to my button's text?

Edited by SirDarknight1200

Share this post


Link to post
Share on other sites



I'm sure you can find answers to most of your questions by searching the forum :)


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2017-04-18 - Version 1.4.8.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2017-02-27 - Version 1.3.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites

i'd begin with the excellent help file.

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

Well, I've gone through them but didn't undestand perfectly

Edited by SirDarknight1200

Share this post


Link to post
Share on other sites

Look at the command GUICtrlCreateGraphic in the help file. In the remarks for the command this is stated:
 

Remarks
To draw in the control see GUICtrlSetGraphic.

The border and background color can be set with GUICtrlSetBkColor and GUICtrlSetColor.

Graphic control can be clicked so they should not overlap with other controls. If overlap is needed it is important to disable the graphic control : GuiCtrlSetState(-1,$GUI_DISABLE).

This control cannot be resized due to fix graphic relative addressing creation but can be dock with GUICtrlSetResizing().

 

Share this post


Link to post
Share on other sites

Thanks for your reply

Share this post


Link to post
Share on other sites

The wiki has a lot of useful tutorials too.


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2017-04-18 - Version 1.4.8.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2017-02-27 - Version 1.3.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:
ADO - Wiki

 

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  
Followers 0