Hi Maybe you can find example code in PopupMenu component;
Atenc; Elazar ________________________________ De: Mick Arundell <m...@macomputer.biz> Para: delphi@elists.org Enviadas: Sexta-feira, 24 de Julho de 2009 9:26:12 Assunto: re: right-click a menu item I think that you need to intercept the windows message wm_mousedown or wm_mouse_up You can easily inherit an existing control, because only controls can receive windows messages, intercept the message in your inherited control and then raise an event to handle right mouse ... Later you put your inherited control on a form and will find that your new events are available. From experience I would suggest that you supply X, Y co-ordinates and selected object, if any, in your right click handler mick _______________________________________________ Delphi mailing list -> Delphi@elists.org http://lists.elists.org/cgi-bin/mailman/listinfo/delphi ____________________________________________________________________________________ Veja quais são os assuntos do momento no Yahoo! +Buscados http://br.maisbuscados.yahoo.com _______________________________________________ Delphi mailing list -> Delphi@elists.org http://lists.elists.org/cgi-bin/mailman/listinfo/delphi