This instance method either opens a view of the given object or resurfaces an existing view.
#define INCL_WINWORKPLACE
#include <os2.h>
WPObject *somSelf; /* Pointer to the object on which the method is being invoked. */
HWND hwndCnr; /* Handle for the view of the object's container. */
ULONG ulView; /* Flag indicating how to view the object. */
ULONG param; /* Optional parameter. */
HWND hwnd; /* Window handle of the view that has been opened or resurfaced. */
hwnd = _wpViewObject(somSelf, hwndCnr, ulView,
param);