1. Win32Lib: Weird Window Style Issue
		
		
This is a multi-part message in MIME format.
------=_NextPart_000_00EB_01C2C134.4719F9A0
charset="iso-8859-1"
Win32Lib programmers, maintainers, gurus, aficionados, etc...
Look at this funny stuff!!! I've attached two dialog screenshots...
The "setup_normal.jpg" uses the following line:
constant Window_Install = createEx( Window, "Forms On-A-Disk AutoInstall",
0, ScreenWidth/2-225,ScreenHeight/2-125, 450, 250, 0, 0 )
The "setup_weird.jpg" uses the following line (the only difference being
the
{WS_DLGFRAME} option):
constant Window_Install = createEx( Window, "Forms On-A-Disk AutoInstall",
0, ScreenWidth/2-225,ScreenHeight/2-125, 450, 250, 0, {WS_DLGFRAME} )
Can anybody explain this to me?
------=_NextPart_000_00EB_01C2C134.4719F9A0
Content-Type: image/jpeg;
name="setup_weird.jpg"
		
	 
	
		
		2. Re: Win32Lib: Weird Window Style Issue
		
		
WS_DLGFRAME = WS_EX_LAYOUTRTL
You are using WS_DLGFRAME incorrectly as Ex flag, so Windows
recognises it as
#if(WINVER >= 0x0500)
#define WS_EX_LAYOUTRTL         0x00400000L // Right to left mirroring
You will be ok with this:
constant Window_Install = createEx( Window, "Forms On-A-Disk AutoInstall",
 0, ScreenWidth/2-225,ScreenHeight/2-125, 450, 250, {WS_DLGFRAME}, 0 )
    Martin
> Win32Lib programmers, maintainers, gurus, aficionados, etc...
> 
> Look at this funny stuff!!! I've attached two dialog screenshots...
> 
> The "setup_normal.jpg" uses the following line:
> constant Window_Install = createEx( Window, "Forms On-A-Disk AutoInstall",
> 0, ScreenWidth/2-225,ScreenHeight/2-125, 450, 250, 0, 0 )
> 
> The "setup_weird.jpg" uses the following line (the only difference being
> the
> {WS_DLGFRAME} option):
> constant Window_Install = createEx( Window, "Forms On-A-Disk AutoInstall",
> 0, ScreenWidth/2-225,ScreenHeight/2-125, 450, 250, 0, {WS_DLGFRAME} )
> 
> Can anybody explain this to me?
> 
> 
> 
> TOPICA - Start your own email discussion group. FREE!
>
		
	 
	
		
		3. Re: Win32Lib: Weird Window Style Issue
		
		
> You are using WS_DLGFRAME incorrectly as Ex flag, so Windows
> recognises it as
>
> #if(WINVER >= 0x0500)
> #define WS_EX_LAYOUTRTL         0x00400000L // Right to left mirroring
>
> You will be ok with this:
>
> constant Window_Install = createEx( Window, "Forms On-A-Disk AutoInstall",
>  0, ScreenWidth/2-225,ScreenHeight/2-125, 450, 250, {WS_DLGFRAME}, 0 )
DOH! I'm a dufus, I admit it...
Thanks Martin! :)