2023-07-24 12:30 PM
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?
2023-08-08 11:17 AM
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.