Click here to Skip to main content
15,899,474 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Looking for idea(s) Pin
David Crow21-Mar-12 3:10
David Crow21-Mar-12 3:10 
GeneralRe: Looking for idea(s) Pin
Randor 21-Mar-12 8:56
professional Randor 21-Mar-12 8:56 
QuestionRe: Looking for idea(s) Pin
David Crow21-Mar-12 10:05
David Crow21-Mar-12 10:05 
AnswerRe: Looking for idea(s) Pin
Randor 21-Mar-12 10:49
professional Randor 21-Mar-12 10:49 
GeneralRe: Looking for idea(s) Pin
David Crow21-Mar-12 18:05
David Crow21-Mar-12 18:05 
GeneralRe: Looking for idea(s) Pin
Randor 22-Mar-12 11:37
professional Randor 22-Mar-12 11:37 
GeneralRe: Looking for idea(s) Pin
David Crow23-Mar-12 6:05
David Crow23-Mar-12 6:05 
GeneralRe: Looking for idea(s) Pin
Randor 23-Mar-12 7:08
professional Randor 23-Mar-12 7:08 
David,

DavidCrow wrote:
See my update here.


It appears that you are having some success and that is great!

I looked through some of the MFC source code to find out why the WM_LBUTTONUP message is being eaten by the CListCtrl and it is because the CListCtrl handles the WM_LBUTTONDOWN message... and inside the WM_LBUTTONDOWN handler it calls CRectTracker::TrackRubberBand[^] and unfortunately this begins a modal message loop[^] that eats the WM_LBUTTONUP message.

Even subclassing the CListCtrl will not help here because GetMessage() retrieves messages directly from the system message queue (Your subclassed CListCtrl WndProc would not even get the message because of this). So you are doing the right thing by using a CWnd wrapper window.

Best Wishes,
-David Delaune
GeneralRe: Looking for idea(s) Pin
David Crow23-Mar-12 8:04
David Crow23-Mar-12 8:04 
Questionabout send and receive msg from gsm modem with 8051 controller Pin
bh_krunal19-Mar-12 22:23
bh_krunal19-Mar-12 22:23 
GeneralRe: about send and receive msg from gsm modem with 8051 controller Pin
Jochen Arndt19-Mar-12 23:14
professionalJochen Arndt19-Mar-12 23:14 
QuestionRe: about send and receive msg from gsm modem with 8051 controller Pin
David Crow20-Mar-12 4:12
David Crow20-Mar-12 4:12 
AnswerRe: about send and receive msg from gsm modem with 8051 controller Pin
Albert Holguin20-Mar-12 5:09
professionalAlbert Holguin20-Mar-12 5:09 
Questionsending messages Pin
sarfaraznawaz19-Mar-12 21:17
sarfaraznawaz19-Mar-12 21:17 
AnswerRe: sending messages Pin
Chandrasekharan P19-Mar-12 22:53
Chandrasekharan P19-Mar-12 22:53 
AnswerRe: sending messages Pin
CPallini19-Mar-12 23:39
mveCPallini19-Mar-12 23:39 
GeneralRe: sending messages Pin
Albert Holguin20-Mar-12 5:02
professionalAlbert Holguin20-Mar-12 5:02 
GeneralRe: sending messages Pin
sarfaraznawaz20-Mar-12 18:57
sarfaraznawaz20-Mar-12 18:57 
AnswerRe: sending messages Pin
Albert Holguin20-Mar-12 5:04
professionalAlbert Holguin20-Mar-12 5:04 
Questioncode pow(a,b) function in Visual studio 2010 professional Pin
mrby12319-Mar-12 19:06
mrby12319-Mar-12 19:06 
AnswerRe: code pow(a,b) function in Visual studio 2010 professional Pin
Jochen Arndt19-Mar-12 22:08
professionalJochen Arndt19-Mar-12 22:08 
GeneralRe: code pow(a,b) function in Visual studio 2010 professional Pin
mrby12320-Mar-12 10:03
mrby12320-Mar-12 10:03 
GeneralRe: code pow(a,b) function in Visual studio 2010 professional Pin
Jochen Arndt20-Mar-12 21:59
professionalJochen Arndt20-Mar-12 21:59 
GeneralRe: code pow(a,b) function in Visual studio 2010 professional Pin
mrby12321-Mar-12 18:46
mrby12321-Mar-12 18:46 
QuestionWhy click and nothing done ? Pin
doanhanam19-Mar-12 18:46
doanhanam19-Mar-12 18:46 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.