Expand|Select|Wrap|Line Numbers
- if( (IsWindowVisible(hwnd) || IsIconic(hwnd)) && (GetWindowLong(hwnd, GWL_HWNDPARENT) == 0) && ( (((GetWindowLong(hwnd, GWL_EXSTYLE) & WS_EX_TOOLWINDOW) == 0) && GetWindow(hwnd, GW_OWNER) == 0) || ((GetWindowLong(hwnd, GWL_EXSTYLE) & WS_EX_APPWINDOW) && GetWindow(hwnd, GW_OWNER) != 0) ))
How can I filter to only windows that show up on the taskbar or in the alt+tab list?