🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.programmer
Article #1460

Re: WinIsVisible(), WS_VISIBLE query

#1460
From: Esmond Pitt
Date: Thu, 23 Aug 1990 07:27
29 lines
1409 bytes
In article <569@bohra.cpg.oz> ejp@bohra.cpg.oz (I) writes:
> The documentation for WinIsVisible() (OS/2 Programmer's reference vol
> II pp 286-7) says firstly:
>
> 	The return value is TRUE if the specified window _and_ all its
> 	parent windows have the WS_VISIBLE style bit set. The return
> 	value is FALSE if the window is not visible.
>
> but secondly:
>
> 	When the WS_VISIBLE style bit is set, the window is shown and
> 	subsequent drawing into the window is displayed as long as the
> 	window _or_ any of the windows in the parent chain have the
> 	WS_VISIBLE style.
>
> Is the 'or' in the second quotation a misprint for 'and', or is the
> 'and' in the first a misprint for 'or'?

According to Microsoft Support, the first description is correct.
Unfortunately that's the only place it appears, while the second
(incorrect) description appears several times throughout the manual.

Be warned.


-- 
Esmond Pitt, Computer Power Group
ejp@bohra.cpg.oz
D
Technical Details
Message-ID: <574@bohra.cpg.oz>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!uunet!munnari.oz.au!mel.dit.csiro.au!yarra!bohra!ejp
References: <569@bohra.cpg.oz>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!uunet!munnari.oz.au!mel.dit.csiro.au!yarra!bohra!ejp
From: ejp@bohra.cpg.oz (Esmond Pitt)
Newsgroups: comp.os.os2.programmer,comp.windows.misc
Subject: Re: WinIsVisible(), WS_VISIBLE query
Message-ID: <574@bohra.cpg.oz>
Date: 23 Aug 90 07:27:42 GMT
References: <569@bohra.cpg.oz>
Organization: Computer Power Group, Melb, Australia
Lines: 28