Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- The Guide to Clip-4-Win version 3.0 - <b>winhelp()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
WinHelp()
Start Windows Help
------------------------------------------------------------------------------

Syntax
WinHelp( <hWnd>, <cHelpFile>, <nCmd>, <cnData> )   -->  lSuccess

Arguments
<hWnd> is the handle to the window requesting help.

<cHelpFile> is the name of the help file that Windows Help is
to use.

<nCmd> is the type of help wanted (one of the HELP_* values
defined in WINDOWS.CH).

<cnData> is string or numeric additional data, depending on
the <nCmd> parameter.

Returns
If successful, logical TRUE (.T.) is returned, otherwise FALSE
(.F.) is returned.

Description
This function can be used to give context-sensitive help,
using the standard Windows Help program (WINHELP.EXE).

Any window that uses this function must call it again with
<nCmd> set to HELP_QUIT before the requesting window is closed
(destroyed).

Building the Help file is a topic beyond the scope of this
manual; see the Microsoft documentation.

Example
WinHelp( hWnd, "MyHelp", HELP_CONTENTS, 0 )


See Also: CreateWindow() DestroyWindow()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson