Microsoft KB Archive/65657

From BetaArchive Wiki

PRB: WinIsWindowVisible() Comments Section Documentation Error PSS ID Number: Q65657 Article last modified on 08-13-1991 PSS database name: P_PresMan

1.10 1.21

OS/2

Summary:

SYMPTOMS The “Comments” section in the OS/2 programmer’s reference manual and in QuickHelp for the WinIsWindowVisible() function is misleading.

CAUSE The comments section of the documentation for this function includes the following incorrect paragraph:

  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.

Instead, the documentation should state the following:

  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 AND ALL of the windows in the parent chain have the
  WS_VISIBLE style.

STATUS Microsoft has confirmed that this documentation error exists on page 286 of the “Microsoft Operating System/2 Programmer’s Reference Volume 2” for version 1.1, and in the version of QuickHelp included with the Presentation Manager (PM) version 1.21 PTK (Programmer’s Toolkit). We are researching this problem and will post new information here when the printed documentation and QuickHelp have been updated to correct this error.

Copyright Microsoft Corporation 1991.