cancel
Showing results for 
Search instead for 
Did you mean: 
EN
cancel
Showing results for 
Search instead for 
Did you mean: 
Newbie
Participant

How to detect mouse right click of list box header?

Hello,

 

I am trying to find any API function to detect right button click of mouse on the list box header.

Is there anyone could share suggestion?

 

1 Reply 1
Miklos Vegh
Graphisoft
Graphisoft

The right mouse click usually invokes a context menu request. In case of the listbox control a right click in the header results a notification in the attached observer:

virtual void	ListBoxContextMenuRequested (const ListBoxContextMenuEvent& ev, bool* processed);

The ListBoxContextMenuEvent contains information about the clicked header item.

If the processed parameter is set to true then the default context menu will not be shown.

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!