Thread View: comp.os.os2.programmer
2 messages
2 total messages
Started by Esmond Pitt
Fri, 17 Aug 1990 05:24
WinIsVisible(), WS_VISIBLE query
Author: Esmond Pitt
Date: Fri, 17 Aug 1990 05:24
Date: Fri, 17 Aug 1990 05:24
23 lines
1154 bytes
1154 bytes
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'? Thanks for any clarification. -- Esmond Pitt, Computer Power Group ejp@bohra.cpg.oz D
Re: WinIsVisible(), WS_VISIBLE query
Author: Esmond Pitt
Date: Thu, 23 Aug 1990 07:27
Date: Thu, 23 Aug 1990 07:27
29 lines
1409 bytes
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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads