Vcl.Menus.TPopupList.Window

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Window: HWND read FWindow;

C++

__property HWND Window = {read=FWindow, nodefault};

Properties

Type Visibility Source Unit Parent
property public
Vcl.Menus.pas
Vcl.Menus.hpp
Vcl.Menus TPopupList

Description

Provides access to the Window handle of the hidden window that processes popup menu messages.

Use Window for Windows API calls that require a window handle. The hidden window that processes messages for the popup menus in an application is not created until the first popup menu is added to the list. If the list contains no popup menus (that is, if no popup menus are created by the application), Window is 0.