Re: Win32Lib not showing WS_EX_WINDOWEDGE

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

Hi EuMan,
     Unfortunately, i'm back to win98 on my new laptop. Bythe time i used to
code in xp, i used to use 4.0 and received desired results without a
manifest. Its kinda funny, all control classes in user32.dll in XP use
themes by default(window,button).
      Maybe, it would be a good idea to post your manifest file and the two
examples showing this for other users to check. AFAIK, 3.1/4.0 applications
made in other languages work great with XP.
      BTW, Just to save me time. Could u paste the code snippets for
detecting which OS u use. i think this will be ideal for euwin win32GUI
library.

Jordah
----- Original Message -----
From: <euman at bellsouth.net>
To: "EUforum" <EUforum at topica.com>
Sent: Saturday, March 22, 2003 1:33 PM
Subject: Re: Win32Lib not showing WS_EX_WINDOWEDGE



Hello,

I have an interesting twist to this 3.1 / 4.0 issue.

Has anyone other than myself noticed that in
Windows XP the button controls appear to be colored
(blue if not in focus, yellow if in focus) if 3.1 is
used and if 4.0 is implemented the buttons just
have a usual Win9x ugly grey appearance?

This with using a .manifest file or not. Perhaps its time to add code (which
I have) to Win32lib to detect the O/S.

This may have to be fixed on Rob's end so translated
programs show as they should or, perhaps my manifest
file is screwy...any thoughts?

regards,
THE EUMAN

----- Original Message -----
From: "Derek Parnell" <ddparnell at bigpond.com>
To: "EUforum" <EUforum at topica.com>
Sent: Saturday, March 22, 2003 1:34 AM
Subject: Re: Win32Lib not showing WS_EX_WINDOWEDGE


>
> ----- Original Message -----
> From: "Raudaun Long" <LilFreak02_ at hotmail.com>
> To: "EUforum" <EUforum at topica.com>
> Sent: Saturday, March 22, 2003 10:23 AM
> 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
>

==^^===============================================================
This email was sent to: jordah at btopenworld.com


TOPICA - Start your own email discussion group. FREE!

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

Search



Quick Links

User menu

Not signed in.

Misc Menu