Jump to content

draw a colored rectangle on a tab


 Share

Recommended Posts

colored rectangleHello,
a basic trick that does not work and I do not understand why.
I want to put a 
colored rectangle on a tab
in my tab I tried without success (nothing appears at all)

 

$GUICtrlCreateTabItem = GUICtrlCreateTabItem("Paramètres")
;cadre
$cadre1 = GUICtrlCreateGraphic($left+4, $top+4, 1162, 450,0) ; $SS_GRAYRECT, $SS_GRAYFRAME
GUICtrlSetColor($cadre1, 0xE69CFF )
GUICtrlSetBkColor($cadre1, 0xE69CFF);660066

I also tried without it, 0 as I saw in some examples, without more success
also play on the $ COLOR_RED color with the corresponding constants

Link to comment
Share on other sites

  • Moderators

New users are not allowed to edit topics until you have a number of posts under your belt. Simply post an addendum as needed.

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Link to comment
Share on other sites

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...