You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
HWND hwnd = ::FindWindow(GetName(), 0); ///If the function succeeds, the return value is a handle to the window that has the specified class name and window name.
if(::IsWindow(hwnd)) ///Determines whether the specified window handle identifies an existing window.
{
HWND hwndPopup = ::GetLastActivePopup(hwnd); ///Determines which pop-up window owned by the specified window was most recently active