This example returns the handle to an icon.

SOM_Scope HPOINTER   SOMLINK pviewM_wpclsQueryIcon(M_PictureViewer *somSelf)
{
    /* M_PictureViewerData *somThis = M_PictureViewerGetData(somSelf); */
    M_PictureViewerMethodDebug("M_PictureViewer","pviewM_wpclsQueryIcon");

/*    return (parent_wpclsQueryIcon(somSelf));   don't call parent method */
      return ( _hIcon );                         /* Return own Icon */
}


[Back] [Next]