HWND GetLastActivePopup(hwndOwner) | |||||
HWND hwndOwner; | /* handle of owner window | */ |
The GetLastActivePopup function determines which pop-up window owned by the given window was most recently active.
hwndOwner
Identifies the owner window.
The return value is the handle of most-recently active pop-up window if the function is successful.
The return value handle will be the same as the handle in the hwndOwner parameter if any of the following conditions are met:
The window identified by hwndOwner was most recently active.
The window identified by hwndOwner does not own any pop-up windows.
The window identified by hwndOwner is not a top-level window or is owned by another window.