The small sample below produces the attached image in not themed OS's (under XP or Vista it's ok: radio background is white). Do you know how can I solve it ?
Thanks,
Davide
FWH 7.09 - Bcc 5.5
- Code: Select all Expand view RUN
******************
function testRad()
******************
local oDlg, oBmp, oFont2, oBtn, oRad, cVar:="First"
DEFINE FONT oFont2 NAME "MS Sans Serif" SIZE 0,-8
DEFINE BRUSH oBmp RESOURCE "WizDlg"
DEFINE DIALOG oDlg FROM 0,0 TO 256,400 PIXEL ;
FONT oFont2 ;
TITLE "Transparent Radios" ;
BRUSH oBmp TRANSPARENT ;
STYLE nOr( DS_SYSMODAL, WS_POPUP )
@ 7,138 SAY "Test" SIZE 62,14 PIXEL COLOR CLR_WHITE OF oDlg // ok, Transparent
@ 50,5 RADIO oRad VAR cVar ITEMS "First" SIZE 45,10 PIXEL OF oDlg
@ 50,55 RADIOITEM "Second" RADIOMENU oRad SIZE 90,10 PIXEL OF oDlg
@ 108,149 BUTTON oBtn PROMPT "Close" ACTION oDlg:End() SIZE 43,11 PIXEL FONT oFont2 OF oDLG
ACTIVATE DIALOG oDlg CENTERED
oFont2:End()
RELEASE BRUSH oBmp
return nil