wpSwitchTo - Syntax

This instance method is called to allow the object to give focus to the specified open view.

#define INCL_WINWORKPLACE
#include <os2.h>

WPObject     *somSelf;  /*  Pointer to the object on which the method is being invoked. */
ULONG         View;     /*  Flag indicating the open view to which focus is to be given. */
BOOL          rc;       /*  Success indicator. */

rc = _wpSwitchTo(somSelf, View);


[Back: wpSwitchTo]
[Next: wpSwitchTo Parameter - somSelf]