This method is specific to version 3, or higher, of the OS/2 operating system.

This method is called to allow the class object to specify the default animation icon to be used for its instances.

#define INCL_WINWORKPLACE
#include <os2.h>

M_WPFolder     *somSelf;      /*  Pointer to the WPFolder class object. */
ULONG           ulIconIndex;  /*  Animation icon index. */
HPOINTER        hptr;         /*  Handle to the animation icon. */

hptr = _wpclsQueryIconN(somSelf, ulIconIndex);


[Back] [Next]