wpQueryIconViewPos
Appearance
This method is specific to version 3, or higher, of the OS/2 operating system.
This instance method returns the initial icon view position of a given folder.
Syntax
_wpQueryIconViewPos(somSelf)
Parameters
- somSelf (WPFolder *) - input
- Pointer to the object on which the method is being invoked.
- Points to an object of class WPFolder.
Returns
- IconViewPos[4] (CHAR *) - returns
- Pointer to the string containing the initial icon view position $x$, $y$, $cx$, and $cy$.
How to Override
This method is generally not overridden.
Example Code
#define INCL_WINWORKPLACE
#include <os2.h>
WPFolder *somSelf; /* Pointer to the object on which the method is being invoked. */
CHAR *IconViewPos[4]; /* Pointer to the string containing the initial icon view position x, y, cx, and cy. */
IconViewPos[4] = _wpQueryIconViewPos(
somSelf);