Windows with Delphi Windows API (94) Windows Filesystem (41) Windows Forms (69) Windows Graphics (38)
Exchange Links About this site Links to us 
|
KeyPreview for mouse in popup menus
This article has not been rated yet. After reading, feel free to leave comments and rate it.
Question:
I need to detect a right mouse press on a popup menu item. There is no OnMouseDown event handler for popupmenu items so I want to grab the mouse event in the same manner as a form KeyPreview. How can I do that?
Answer:
This is not easily possible. The problem with Windows menus is that they use their own message
queue.
Comments:
|