context sample? Topic is solved
context sample?
where is the example shows that when right click, then show a pop up context panel, thank u
Re: context sample?
Catch the rightclick mouse event, in the event handler create a wxMenu on the stack and call wxWindow::PopupMenu() or wxWindow::GetPopupMenuSelectionFromUser().
Check the "menu" sample.
Check the "menu" sample.
Use the source, Luke!
Re: context sample?
I saw on the menu sample, there is an altertive that use EVT_CONTEXT_MENU...is it better to use this? I now use EVT_RIGHT_UP.
Re: context sample?
Yes, i forgot about that. This is the preferred way.gpu wrote:I saw on the menu sample, there is an altertive that use EVT_CONTEXT_MENU...is it better to use this? I now use EVT_RIGHT_UP.
Use the source, Luke!