U++ Forum - RDF feed
https://www.ultimatepp.org/forums/
GridCtrl and popup menu problem
https://www.ultimatepp.org/forums/index.php?t=rview&goto=39371&th=7450#msg_39371
I have a GridCtrl that let appear a popup menu by a right click.
The problem:
a) if the grid is empty (no rows) the popup appear in any place I right click over the grid;
b) if the grid contain some element the popup appear ONLY if I right click on some row while it does not appear when right click in the empty grid.
Is this normal? I would expect that a) behaviour irrispective of the precence of the rows.
Thanks,
Luigi
]]>forlano2013-03-14T12:58:25-00:00Re: GridCtrl and popup menu problem
https://www.ultimatepp.org/forums/index.php?t=rview&goto=39387&th=7450#msg_39387
forlano wrote on Thu, 14 March 2013 13:58
Is this normal? I would expect that a) behaviour irrispective of the precence of the rows.
Thinking better I see this is normal. In the standard menu there are actions like row-up and row-down and make sense that one should select one row and not just produce a void right click.
This means that I must remove my custom action from that popup.