DOCERR: HELPWININFO Data Structure Documented Incorrectly

Last reviewed: July 23, 1997
Article ID: Q86924
3.10 WINDOWS kbtool kbprg kbdocerr

The information in this article applies to:

  • Microsoft Windows Software Development Kit (SDK) for Windows version 3.1

SUMMARY

The "Microsoft Windows Software Development Kit: Programmer's Reference, Volume 3: Messages, Structures and Macros" manual for version 3.1 incorrectly documents the HELPWININFO data structure on pages 299 and 300.

According to the documentation, the wMax member of the HELPWININFO structure has the value 0 (zero) to specify a normal-size window or 1 to specify a maximized window. This information is incorrect; the wMax member can assume any one of ten different values, as follows:

          Corresponding
   Value  Windows Constant    Action
   -----  ----------------    ------

     0    SW_HIDE             Hides the window and passes activation to
                              another window.

     1    SW_SHOWNORMAL       Activates and displays a window. If the
                              window is minimized or maximized, Windows
                              restores it to its original size and
                              position.

     2    SW_SHOWMINIMIZED    Activates the window and displays it as
                              an icon.

     3    SW_SHOWMAXIMIZED    Activates the window and displays it as a
                              maximized window.

     4    SW_SHOWNOACTIVATE   Displays a window in its most recent size
                              and position. The window that is currently
                              active remains active.

     5    SW_SHOW             Activates a window and displays it in its
                              current size and position.

     6    SW_MINIMIZE         Minimizes the specified window and
                              activates the top-level window in the
                              window manager's list.

     7    SW_SHOWMINNOACTIVE  Displays the window as an icon. The
                              window that is currently active remains
                              active.

     8    SW_SHOWNA           Displays the window in its current state.
                              The window that is currently active
                              remains active.

     9    SW_RESTORE          Same as SW_SHOWNORMAL.

Note that these constants are valid only for Windows Help running with Microsoft Windows. These constants may change if Help is ported to another platform.


Additional reference words: 3.10 docerr
KBCategory: kbtool kbprg kbdocerr
KBSubcategory: TlsHlp
Keywords : kb16bitonly


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: July 23, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.