This function gets the window handle of the next window in a specified enumeration list.
#define INCL_WINWINDOWMGR /* Or use INCL_WIN, INCL_PM, */ #include <os2.h> HENUM henum; /* Enumeration handle. */ HWND hwndNext; /* Next window handle in enumeration list. */ hwndNext = WinGetNextWindow(henum);