What exactly does GetLastActivePopup do? The Win32 reference says "The
return value identifies the most recently active pop-up window", but what
is a pop-up window in this context - simply a child window?
Thanks in advance,
Sebastian
No. There are three main types of windows you can create:
- Overlapped windows - the normal "main window" for an application.
- Child windows, confined to the "client area" of their parent.
- Popup windows - "owned" windows NOT confined to their parent's client
area.
ie a popup window is a window with the WS_POPUP window style. Dialog
boxes are the most commonly-encountered popup windows.
Chris
----------------------------------------------------------------
Chris Marriott, SkyMap Software, U.K. e-mail: ch...@skymap.com
Creators of fine astronomy software for Windows.
For full details, visit our web site at http://www.skymap.com
Hi,
a popup-window is a window with the style WS_POPUP.
This is often used for dialog boxes, but can be used
for any ordinary toplevel window. The difference to
WS_OVERLAPPED is that a caption is not required.
Child windows can not have this style since WS_CHILD
and WS_POPUP cannot be combined.
The purpose of the function GetLastActivePopup() is
to find out the window with which the user is working
at the moment, given the application's main window.
Greetings, Bernd