Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
WinMultWindowFromIDs (1.2)
◄Up► ◄Next► ◄Previous►
────────────────────────────────────────────────────────────────────────────
#define INCL_WINMESSAGEMGR
SHORT WinMultWindowFromIDs(hwndParent, phwnd, idFirst, idLast)
HWND hwndParent; /* handle of the parent window */
PHWND phwnd; /* address of array of window handles */
USHORT idFirst; /* first window identifier in range */
USHORT idLast; /* last window identifier in range */
The WinMultWindowFromIDs function finds the handles of specified child
windows that have window-identifier values within a specified range. This
function may be used to enumerate all the items in a dialog group, for
example, or to enumerate all the frame controls of a standard window. This
function is faster than making individual calls to the WinWindowFromID
function.
Parameter Description
────────────────────────────────────────────────────────────────────────────
hwndParent Identifies the parent window.
phwnd Points to the array that contains the window handles. This array
must contain (idLast - idFirst + 1) elements; the zero-based
index of a window in the array is (idWindow - idFirst), where
idWindow is the window identifier of the specified window. If
there is no window for a window identifier within the range, the
corresponding element in the array is NULL.
idFirst Identifies the first window-identifier value in the range
(inclusive).
idLast Identifies the last window-identifier value in the range
(inclusive).
Return Value
The return value is the number of window handles returned in the array. The
return value is zero if no window handles are returned.
See Also
WinWindowFromID
♦