The ISWPArray (set-window-position) class represents an array of ISWP objects. This class provides functions to do the following:
Constructors & DestructorYou can construct objects of this class.
![]() |
public:
ISWPArray(ISWP* array, unsigned dimension)
Constructs objects of this class from ISWP objects.
| Windows | OS/2 | AIX |
| Yes | Yes | Yes |
You can create an ISWP* for array by casting a Presentation Manager PSWP pointer.
Array ContentsUse these members to operate on the collection of ISWP objects.
![]() |
public:
unsigned indexOf(unsigned long windowId) const
Returns the 0-based index of an ISWP element in the array. You can pass this index to ISWPArray::operator[] to access the ISWP object.
| Windows | OS/2 | AIX |
| Yes | Yes | Yes |
![]() |
public:
ISWP& operator [](unsigned index)
Returns a reference to the specified element of the array.
| Windows | OS/2 | AIX |
| Yes | Yes | Yes |
![]() |
public:
unsigned size() const
Returns the dimension of the array, as specified on the constructor.
| Windows | OS/2 | AIX |
| Yes | Yes | Yes |