Null Style problem with Windows Vista
Posted: Sun Aug 10, 2008 1:41 am
Dear All,
The login screen is work perfect in Windows XP (without anything in each corner) but it shows incorrect in Windows Vista as picture (not show round corner).
- LOGIN1.BMP
- LOGIN2.BMP
- Login XP
- Login Vista
Thanks in advance,
Dutch
The login screen is work perfect in Windows XP (without anything in each corner) but it shows incorrect in Windows Vista as picture (not show round corner).
- LOGIN1.BMP
- LOGIN2.BMP
- Login XP
- Login Vista
Code: Select all
DEFINE BITMAP oBmp1 FILE 'BMP\LOGIN1.BMP' OF oDlg
DEFINE BITMAP oBmp2 FILE 'BMP\LOGIN2.BMP' OF oDlg
DEFINE BRUSH oBrush STYLE NULL // FILENAME 'HOME.BMP'
DEFINE DIALOG oDlg;
BRUSH oBrush ;
STYLE WS_POPUP ; // nOr( DS_MODALFRAME, WS_POPUP, WS_DLGFRAME, WS_SYSMENU, 4 ) ;
FONT oFnt0 ;
PIXEL FROM 0, 0 TO 415, 470 ;
TITLE "EASYFO"
....
ACTIVATE DIALOG oDlg CENTER ; // ON INIT SETTRANSP( oDlg ) ;
ON PAINT ( PalBmpDraw( oDlg:hDC, 0, 0, oBmp2:hBitmap, 0, 0, 0, SRCPAINT ),;
PalBmpDraw( oDlg:hDC, 0, 0, oBmp1:hBitmap, 0, 0, 0, SRCAND ))
Dutch