This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
Re: Server Test 85 dies in NT4 SP5 with entry point Get WindowInfo not found in USER32.dll
- From: "Earle F. Philhower III" <earle at ziplabel dot com>
- To: cygwin-xfree at cygwin dot com
- Date: Sun, 18 May 2003 11:07:58 -0700
- Subject: Re: Server Test 85 dies in NT4 SP5 with entry point Get WindowInfo not found in USER32.dll
- References: <3EC753FE.2020101@gamma-rs.ch>
- Reply-to: cygwin-xfree at cygwin dot com
Salut Sylvain,
At 11:41 AM 5/18/2003 +0200, you wrote:
Strange, as this function is included in NT4/user32.dll since sp3 ?
see
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/WinUI/WindowsUserInterface/Windowing/Windows/WindowReference/WindowFunctions/GetWindowInfo.asp
That's what MSDN online says, but if you look in the Platform SDK Feb 2003
release
they say NT4SP6. I guess that updating docs for unsupported OSes isn't one of
their priorities!
In any case you can use GWL instead to get the info needed. In the
WM_SYSCOMMAND handler and WM_INITMENU handlers replace the GetWindowInfo
with
...
long dwExStyle;
dwExStyle = GetWindowLong(hwnd, GWL_EXSTYLE);
if (dwExStyle & WS_EX_TOPMOST)
...
-Earle F. Philhower, III
earle@ziplabel.com
cdrlabel - ZipLabel - FlpLabel
http://www.cdrlabel.com