The instance set methods are used to modify the properties of a specific object instance. You would not normally override these methods but would call these methods to change the behavior of the corresponding instance query method or the behavior of the object. For example, you might call wpSetIcon to change the current icon for your object, as shown in the following sample code:

    .
    .
    .

/* Load the icon from the resource file */
hptrIcon = WinLoadPointer(HWND_DESKTOP,vhmod,IDP_Folder3);

/* Make this the current icon for the object */
_wpSetIcon(somSelf,hptrIcon);

    .
    .
    .


[Back] [Next]