Re: Win32Lib not showing WS_EX_WINDOWEDGE

new topic     » goto parent     » topic index » view thread      » older message » newer message

----- Original Message -----
From: "Raudaun Long" <LilFreak02_ at hotmail.com>
To: "EUforum" <EUforum at topica.com>
Subject: RE: Win32Lib not showing WS_EX_WINDOWEDGE


>
>
> Derek Parnell wrote:
> > ----- Original Message -----
> > From: "Raudaun Long" <LilFreak02_ at hotmail.com>
> > To: "EUforum" <EUforum at topica.com>
> > Sent: Friday, March 21, 2003 3:05 PM
> > Subject: Win32Lib not showing WS_EX_WINDOWEDGE
> >
> >
> > > any idea why the following code would produce the window shown on
> > > http://loth.hypermart.net/window_ss.jpg? The WS_EX_WINDOWEDGE syle is
> > > not added to the window.
> > >

[snip]
>
> I understand what you are saying as I've been programming for windows
> for a while, but as i said in my first reply, this window was generated
> by an app i'm working on the pulls the styles off of existing windows on
> the screen and outputs the window and controls into a win32lib Eu
> program. I did not set these styles myself. My question isn't how they
> work or how to get a specific frame but rather why the code doesn't
> produce the same window as the original even though the styles set in
> the source code are exactly the same. They all showed up in Spy++ except
> WS_EX_WINDOWEDGE

I'm sorry. I'm still fairly new to Win32 programming. I just didn't notice
in your post that your question was "I have two programs that both create a
window based on exactly the same style flags. However, the win32lib
program's window has just a line for the border and the other program has
the normal 3D look border. Why is this so?"

My guess is that your EXW.EXE still has the Win 3.1 setting. In other words
bytes at address offset #08 for 4 bytes should equal #40 #00 #00 #00.

Also I'm not sure what the statement "They all showed up in Spy++ except
WS_EX_WINDOWEDGE" means. Does this mean that Spy++ did not show the flag for
both programs, or that it shows it one program but not the other? I'm
guessing here that CreateWindowEx() did not exist until Windows 95.


----------------
cheers,
Derek Parnell

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu