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

C / C++ / MFC

 
GeneralRe: Looking for idea(s) Pin
David Crow20-Mar-12 10:09
David Crow20-Mar-12 10:09 
GeneralRe: Looking for idea(s) Pin
enhzflep20-Mar-12 18:58
enhzflep20-Mar-12 18:58 
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 
Hi,

DavidCrow wrote:
I'm beginning to see why.

He is not using a CListCtrl based class he is using a CWnd based class. I was actually referring to the handling of VK_RETURN and VK_ESCAPE keys for closing the window in that comment.

When you use these default Microsoft controls you are sometimes limited by their design because they are already subclassed by MFC. The CListCtrl probably handles the WM_LBUTTONDOWN/WM_LBUTTONUP messages internally and then posts a WM_NOTIFY message to its parent containing NM_CLICK in the NMHDR. So I guess this implies that you would need a CWnd wrapper window if you insist on using the CListCtrl to display your images.

Btw are you sure you did not catch the WM_SETFOCUS/WM_KILLFOCUS messages? I am fairly certain you should be able to catch those messages.

Best Wishes,
-David Delaune
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 
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 

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.