Click here to Skip to main content
15,905,781 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: MFC or No MFC? (No .NET) Pin
Michael Dunn22-Apr-06 9:51
sitebuilderMichael Dunn22-Apr-06 9:51 
GeneralRe: MFC or No MFC? (No .NET) Pin
chasetoys22-Apr-06 10:18
chasetoys22-Apr-06 10:18 
GeneralRe: MFC or No MFC? (No .NET) Pin
Kevin McFarlane22-Apr-06 12:42
Kevin McFarlane22-Apr-06 12:42 
GeneralRe: MFC or No MFC? (No .NET) Pin
Bram van Kampen22-Apr-06 14:57
Bram van Kampen22-Apr-06 14:57 
GeneralRe: MFC or No MFC? (No .NET) Pin
Bram van Kampen22-Apr-06 15:36
Bram van Kampen22-Apr-06 15:36 
AnswerRe: MFC or No MFC? (No .NET) Pin
Bram van Kampen22-Apr-06 14:43
Bram van Kampen22-Apr-06 14:43 
QuestionCallback and window procedures Pin
chasetoys22-Apr-06 9:31
chasetoys22-Apr-06 9:31 
AnswerRe: Callback and window procedures Pin
Bram van Kampen22-Apr-06 14:21
Bram van Kampen22-Apr-06 14:21 
Yes, you Must on Pain of your program no longer responding!

You should ALWAYS call the Default procedure appropriate for your window.

The way windows works, is, it sends messages, thousands of them. A Window Procedure gives you a chance to act on selected messages. (Each Key Press, or Mouse Move will send a Message to your procedure, which in most cases you would not want to handle. if you do not pass them on, the keyboard and mouse will stop to function as soon as you put the mouse in the window. ) As a matter op protocol, you should pass on any messages you do not handle down the chain, for someone else to pick up and handle. You do this by calling the Default Procedure. Windows will take care of despatching your unhandled messages ( which are most) to the next in the chain.

Note: DefWindowProc(...)is the procedure for generic windows. Dialogs and Controls have different default procedures.

LateNightsInNewry
AnswerRe: retrieve some information from a mail! Pin
David Crow24-Apr-06 3:14
David Crow24-Apr-06 3:14 
Questiona big problem with updating the code of my server Pin
farshad.f22-Apr-06 6:48
farshad.f22-Apr-06 6:48 
QuestionDifferences between *.doc & *.txt Pin
beardy janggut22-Apr-06 6:27
beardy janggut22-Apr-06 6:27 
AnswerRe: Differences between *.doc & *.txt Pin
Ravi Bhavnani22-Apr-06 6:45
professionalRavi Bhavnani22-Apr-06 6:45 
AnswerRe: Differences between *.doc & *.txt Pin
Waldermort22-Apr-06 8:08
Waldermort22-Apr-06 8:08 
AnswerRe: Differences between *.doc & *.txt Pin
David Crow24-Apr-06 3:17
David Crow24-Apr-06 3:17 
QuestionDirectory Enumerator for folder having files with path length beyond 260 bytes Pin
Sandeep. Vaidya22-Apr-06 5:11
Sandeep. Vaidya22-Apr-06 5:11 
AnswerRe: Directory Enumerator for folder having files with path length beyond 260 bytes Pin
Waldermort22-Apr-06 6:32
Waldermort22-Apr-06 6:32 
AnswerRe: Directory Enumerator for folder having files with path length beyond 260 bytes Pin
Michael Dunn22-Apr-06 9:08
sitebuilderMichael Dunn22-Apr-06 9:08 
GeneralRe: Directory Enumerator for folder having files with path length beyond 260 bytes Pin
Sandeep. Vaidya23-Apr-06 19:19
Sandeep. Vaidya23-Apr-06 19:19 
GeneralRe: Directory Enumerator for folder having files with path length beyond 260 bytes Pin
Michael Dunn23-Apr-06 20:22
sitebuilderMichael Dunn23-Apr-06 20:22 
GeneralRe: Directory Enumerator for folder having files with path length beyond 260 bytes Pin
Sandeep. Vaidya25-Apr-06 1:07
Sandeep. Vaidya25-Apr-06 1:07 
QuestionCDialog vs CRecordView Pin
gteodora22-Apr-06 4:52
gteodora22-Apr-06 4:52 
AnswerRe: CDialog vs CRecordView Pin
includeh1022-Apr-06 6:15
includeh1022-Apr-06 6:15 
AnswerRe: CDialog vs CRecordView Pin
Aqueel22-Apr-06 10:02
Aqueel22-Apr-06 10:02 
GeneralRe: CDialog vs CRecordView Pin
David Crow24-Apr-06 3:20
David Crow24-Apr-06 3:20 
GeneralRe: CDialog vs CRecordView Pin
Aqueel24-Apr-06 17:16
Aqueel24-Apr-06 17:16 

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.