This instance method is called to allow the object to set its current icon.
#define INCL_WINWORKPLACE #include <os2.h> WPObject *somSelf; /* Pointer to the object on which the method is being invoked. */ HPOINTER hptrNewIcon; /* Pointer to the object handle. */ BOOL rc; /* Success indicator. */ rc = _wpSetIcon(somSelf, hptrNewIcon);