Click here to Skip to main content
Rate this: bad
Please Sign up or sign in to vote.
See more: VC6 C++ MFC

I have a little problem here:

I need to Handle the Right Mouse Button Click in a CListCtrl or CListView !

Thank you for your understanding.
Posted 2-Jul-13 10:54am
Edited 4-Jul-13 7:53am

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

use the wizard to generate a message handler for your mouse event.

The SQL-statement should run in a own thread, so the use isnt disturbed to much.
tomay3000 at 4-Jul-13 12:57pm
I have updated my question, I am not interesting in SQL, I just wanna know:
Which message handler to use.
Should I handle it in the parent window or itself.
Should I derive a class.
KarstenK at 5-Jul-13 2:18am
here is some information from Microsoft, whcih i googled: :-O

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Sascha Lefévre 485
1 Sergey Alexandrovich Kryukov 325
2 Maciej Los 240
3 Abhinav S 164
4 Peter Leow 120
0 Sergey Alexandrovich Kryukov 6,953
1 OriginalGriff 6,311
2 Maciej Los 2,732
3 Peter Leow 2,674
4 Abhinav S 2,562

Advertise | Privacy | Mobile
Web02 | 2.8.150414.1 | Last Updated 4 Jul 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100