Click here to Skip to main content
15,888,461 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: anyone expert in C++ help me please Pin
Chris Losinger19-Mar-06 4:17
professionalChris Losinger19-Mar-06 4:17 
QuestionMemory leak detection Pin
Waldermort19-Mar-06 1:41
Waldermort19-Mar-06 1:41 
AnswerRe: Memory leak detection Pin
Joe Woodbury19-Mar-06 11:42
professionalJoe Woodbury19-Mar-06 11:42 
QuestionUnknown message Pin
Irina Tseitlin19-Mar-06 1:16
Irina Tseitlin19-Mar-06 1:16 
AnswerRe: Unknown message Pin
karle19-Mar-06 5:26
karle19-Mar-06 5:26 
AnswerRe: Unknown message Pin
Stephen Hewitt19-Mar-06 11:46
Stephen Hewitt19-Mar-06 11:46 
QuestionHow do I know if an OK event came from mouse or Enter? Pin
IlanTal18-Mar-06 23:31
IlanTal18-Mar-06 23:31 
AnswerRe: How do I know if an OK event came from mouse or Enter? Pin
Waldermort19-Mar-06 1:31
Waldermort19-Mar-06 1:31 
I'm not quite sure how to do this in MFC, but in win32, you need to change the way the messages are handled.

This code is inserted into the winMain and it checks for messages being sent to the dialog.
while( GetMessage( &msg, NULL, 0, 0 ) )
{
    if(!IsDialogMessage(dlgHwnd, &msg)) {
        TranslateMessage( &msg );
        DispatchMessage( &msg );
    }
}

return msg.wParam;

AnswerRe: How do I know if an OK event came from mouse or Enter? Pin
Graham Bradshaw19-Mar-06 2:59
Graham Bradshaw19-Mar-06 2:59 
GeneralRe: How do I know if an OK event came from mouse or Enter? Pin
IlanTal19-Mar-06 4:03
IlanTal19-Mar-06 4:03 
AnswerRe: How do I know if an OK event came from mouse or Enter? Pin
Chris Gao19-Mar-06 10:30
Chris Gao19-Mar-06 10:30 
AnswerRe: How do I know if an OK event came from mouse or Enter? Pin
Chris Gao19-Mar-06 10:32
Chris Gao19-Mar-06 10:32 
Questionhelp! Pin
harry~18-Mar-06 21:32
harry~18-Mar-06 21:32 
AnswerRe: help! Pin
Waldermort19-Mar-06 1:37
Waldermort19-Mar-06 1:37 
AnswerRe: help! Pin
Hamid_RT19-Mar-06 2:46
Hamid_RT19-Mar-06 2:46 
AnswerRe: help! Pin
Robert Palma Jr.19-Mar-06 7:56
Robert Palma Jr.19-Mar-06 7:56 
QuestionWin32 Radio Button problem Pin
amanoullah18-Mar-06 20:54
amanoullah18-Mar-06 20:54 
AnswerRe: Win32 Radio Button problem Pin
Monty218-Mar-06 21:18
Monty218-Mar-06 21:18 
AnswerRe: Win32 Radio Button problem Pin
Jörgen Sigvardsson18-Mar-06 22:23
Jörgen Sigvardsson18-Mar-06 22:23 
AnswerRe: Win32 Radio Button problem Pin
Hamid_RT19-Mar-06 2:28
Hamid_RT19-Mar-06 2:28 
QuestionConvet Binary tree to Circular linked list Pin
Ilamparithi18-Mar-06 20:26
Ilamparithi18-Mar-06 20:26 
AnswerRe: Convet Binary tree to Circular linked list Pin
El Corazon19-Mar-06 8:22
El Corazon19-Mar-06 8:22 
QuestionGLUI user interface Pin
shanana18-Mar-06 16:44
shanana18-Mar-06 16:44 
Questionsingle line rich text problem Pin
Jim Crafton18-Mar-06 12:35
Jim Crafton18-Mar-06 12:35 
AnswerRe: single line rich text problem Pin
Jörgen Sigvardsson18-Mar-06 13:27
Jörgen Sigvardsson18-Mar-06 13:27 

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.