2 out of 2 rated this helpful - Rate this topic

GetLastActivePopup function

Applies to: desktop apps only

Determines which pop-up window owned by the specified window was most recently active.

Syntax

HWND WINAPI GetLastActivePopup(
  __in  HWND hWnd
);

Parameters

hWnd [in]

Type: HWND

A handle to the owner window.

Return value

Type:

Type: HWND

The return value identifies the most recently active pop-up window. The return value is the same as the hWnd parameter, if any of the following conditions are met:

  • The window identified by hWnd was most recently active.
  • The window identified by hWnd does not own any pop-up windows.
  • The window identifies by hWnd is not a top-level window, or it is owned by another window.

Requirements

Minimum supported client

Windows 2000 Professional

Minimum supported server

Windows 2000 Server

Header

Winuser.h (include Windows.h)

Library

User32.lib

DLL

User32.dll

See also

Reference
AnyPopup
ShowOwnedPopups
Conceptual
Windows

 

 

Send comments about this topic to Microsoft

Build date: 2/3/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ