Jump to content

wpclsQueryIconN

From EDM2
Revision as of 21:38, 25 May 2025 by Martini (talk | contribs) (Created page with "{{DISPLAYTITLE:wpclsQueryIconN}} 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. ==Syntax== _wpclsQueryIconN(somSelf, ulIconIndex) ==Parameters== ;'''somSelf''' (M_WPFolder *) - input :Pointer to the WPFolder class object. ;'''ulIconIndex''' (ULONG) - input :Animation icon index. This value must be 1. ;'''hptr''' ([...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.

Syntax

_wpclsQueryIconN(somSelf, ulIconIndex)

Parameters

somSelf (M_WPFolder *) - input
Pointer to the WPFolder class object.
ulIconIndex (ULONG) - input
Animation icon index. This value must be 1.
hptr (HPOINTER) - returns
Handle to the animation icon. A return value of NULL indicates that there is no animation icon.

Returns

hptr (HPOINTER) - returns
Handle to the animation icon. A return value of NULL indicates that there is no animation icon.

Remarks

This method is very similar to wpclsQueryIcon. The difference is that wpclsQueryIcon returns the handle for a normal object icon (the closed folder icon), while wpclsQueryIconN returns the handle for the animation icon (the open folder icon).

How to Override

This method generally not overridden.

Usage

This method can be called at any time.

Related Methods