wpSetWarnBeforeStart (WPProgramFile) - Syntax

This method is specific to Version 4, or higher, of the OS/2 operating system.

This instance method sets the program reference's Warn Before Start flag. If this flag is set, put up a warning dialog before starting the program.

#define INCL_WINWORKPLACE
#include <os2.h>

WPProgramFile     *somSelf;           /*  Pointer to the object on which the method is being invoked. */
BOOL               rc;                /*  Success indicator */
BOOL               fWarnBeforeStart;  /*  A warning dialog before starting the program. */

fWarnBeforeStart = _wpSetWarnBeforeStart(
                    somSelf, rc);


[Back: wpSetWarnBeforeStart (WPProgramFile)]
[Next: wpSetWarnBeforeStart (WPProgramFile) Parameter - somSelf]