This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Server Test 85 dies in NT4 SP5 with entry point Get WindowInfo not found in USER32.dll


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]