Re: Problem with Win32Lib

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

----- Original Message ----- 
From: "Wolf" <wolfritz at KING.IGS.NET>
To: "EUforum" <EUforum at topica.com>
Subject: Re: Problem with Win32Lib


> 
> 
> > this function is unnecessary. It should be replaced by a call to
> > GetWindowLong(). The second parameter should be GWL_STYLE, which is -16 (I
> 
> Right... and I could use some more help, re: this...
> How does one get the equivalent of WINDOWINFO_WindowType ???

GetClassLong()

 
> ...also, while GetVersionEx(), in Win98, for example, returns 4 for Major,
> while WINDOWINFO_CreatorVersion returns 1024 for same OS.
> Is this another stupid Microsoft ( we'll return it in the hi-bye of the
> low-word ), or something else?

Yes. Using GetVersionEx() is simplier than decoding the _CreatorVersion value,
which merges opsys family code, build#, and version number into one 32-bit value.

-- 
Derek

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

Search



Quick Links

User menu

Not signed in.

Misc Menu