right click on listview column header

  • Thread starter Thread starter Sam Martin
  • Start date Start date
Sam Martin said:
hi all,

anyone know how i can detect this i c#?

tia

sam martin

It's a bit complicated. To handle these messages, you'll need to subclass
the ListView class and override the WndProc method. Mouse clicks on the
listview column header come as WM_NOTIFY messages. The notification of
interest is probably HDN_MOUSEUP.

You can find the values of the above constants from the platform SDK
headers. The structures associated with these messages are also described in
the SDK headers.

Hope this gets you started.

Regards,
Sami
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top