October 24, 2018
Hot Topics:

Using the Help API

  • November 20, 2002
  • By John Percival
  • Send Email »
  • More Articles »

Specify the left, top, width and height variables in the respective properties of the UDT.

Note that WinHelp divides the screen up into units so that both the width and height are 1024 units. The wStructSize should be set so that the API knows how long the structure is.  The state contains the desired window state; it is similar to the shell command's windowstyle parameter. The options are:

SW_HIDE Hides the window and passes activation to another window.
SW_MINIMIZE Minimises the specified window and activates the top level window in the Z order.
SW_SHOW Activates a window and displays it in its current size and position.
SW_SHOWMAXIMIZED Activates the window and displays it as a maximised window.
SW_SHOWMINIMIZED Activates the window and displays it as an icon.
SW_SHOWMINNOACTIVE Displays the window as an icon. The window that is currently active remains active.
SW_SHOWNA Displays the window in its current state. The window that is currently active remains active.
SW_SHOWNOACTIVATE Displays a window in its most recent size and position. The window that is currently active remains active.
SW_SHOWNORMAL Activates and displays the window. Whether the window is minimised or maximised, Windows restores it to its original size and position.

rgchMember does not do anything, so should be left empty.

Page 4 of 5

Comment and Contribute


(Maximum characters: 1200). You have characters left.



Enterprise Development Update

Don't miss an article. Subscribe to our newsletter below.

By submitting your information, you agree that developer.com may send you developer offers via email, phone and text message, as well as email offers about other products and services that developer believes may be of interest to you. developer will process your information in accordance with the Quinstreet Privacy Policy.

Thanks for your registration, follow us on our social networks to keep up-to-date