0
votes
Vote UpVote

missing TPopupMenu feature: checking for visibility

The Wiert Corner – a method to detect when the menu was closed without a selection (i.e. none of the menuitem OnClick handlers fired). Add the unit below to your project and the form the popup menu is on will receive the custom messages defined in the unit when the menu appears or closes. The solution by Peter Below in ExPopupList works from D5 on:  [Archive.is] missing TPopupMenu features? – Google Groups. Now you can hook the [WayBack] TControl.OnContextPopup Event for a [WayBack] TPopupMenu activation, and the custom Windows messages CM_MENUCLOSED, CM_ENTERMENULOOP and CM_EXITMENULOOP to monitor the ...
Favorite? Off-Topic? jpluimers @ 2019-06-25 07:03

Statistics

Visits: 86
Votes: 0
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Subscribe:
Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News

Sponsor

 
Please login or register to use this functionality.
(click on this box to dismiss)