Old 29th June 2006, 15:27   #1
Brummelchen
Major Dude
 
Join Date: May 2003
Posts: 681
IO checkbox and color = failed !?

i cant get a colored check box:

[Field 1]
Type=Checkbox
Text=foo - confirm
Left=10
Right=22
Top=30
Bottom=42
State=0
Flags=

PHP Code:
  Pop $HWND
    GetDlgItem $DLGITEM $HWND 1200 
;1200 Field number 1
    SetCtlColors $DLGITEM FF0000 transparent 
rot
  
!insertmacro MUI_INSTALLOPTIONS_SHOW_RETURN 
the background always got black

Greets, Brummelchen
Brummelchen is offline   Reply With Quote
Old 30th June 2006, 10:36   #2
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
Use a label to show the text or a solid color. It's a problem with checkboxes and XPStyle.

http://forums.winamp.com/showthread....x+setctlcolors

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Old 30th June 2006, 11:08   #3
Brummelchen
Major Dude
 
Join Date: May 2003
Posts: 681
oh - oups - thx

Greets, Brummelchen
Brummelchen is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump