RAD Studio VCL Reference
|
Dispatches a pop-up menu command.
function DispatchPopup(AHandle: HMENU): Boolean;
__fastcall Boolean DispatchPopup(HMENU AHandle);
Call DispatchPopup to simulate a click on the menu item associated with the pop-up menu handle. If DispatchPopup locates a menu item that matches the pop-up menu handle, it calls the Click method for that menu item and returns true. If there is no such item, DispatchPopup returns false.
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|