Click here to Skip to main content
16,014,748 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to update the resource in an exe file under Windows 98? Pin
stanley guan6-Mar-03 15:06
stanley guan6-Mar-03 15:06 
GeneralRe: How to update the resource in an exe file under Windows 98? Pin
Dave Bryant6-Mar-03 15:12
Dave Bryant6-Mar-03 15:12 
GeneralRe: How to update the resource in an exe file under Windows 98? Pin
stanley guan6-Mar-03 15:38
stanley guan6-Mar-03 15:38 
QuestionHow do I post a message to a CDocument? Pin
clintsinger6-Mar-03 13:38
clintsinger6-Mar-03 13:38 
AnswerRe: How do I post a message to a CDocument? Pin
Michael Dunn6-Mar-03 13:52
sitebuilderMichael Dunn6-Mar-03 13:52 
GeneralRe: How do I post a message to a CDocument? Pin
clintsinger7-Mar-03 5:51
clintsinger7-Mar-03 5:51 
AnswerRe: How do I post a message to a CDocument? Pin
Steve Mayfield6-Mar-03 15:14
Steve Mayfield6-Mar-03 15:14 
GeneralRe: How do I post a message to a CDocument? Pin
Bartosz Bien7-Mar-03 0:50
Bartosz Bien7-Mar-03 0:50 
This way it goes more Frame/Doc/View architecture than the pure Doc/View. Wink | ;) I would personally avoid coding logic in the frame window unless it's absolutely needed (which is not the case). The message map in CDocument class can be nicely utilized to handle menu/toolbar/accelerator messages that are related to the document. Try to create message handlers in the classes that own the variables you use in these handlers, so there is nothing like ((CDocumentClassName *)CFrameWnd::GetActiveDocument())->SpecialProcessingFunctions(..), but rather CDocumentClassName::OnSpecial(). Roll eyes | :rolleyes:

Regards,
BB
QuestionWhat is a DLL and a class? Pin
Anonymous6-Mar-03 12:55
Anonymous6-Mar-03 12:55 
AnswerRe: What is a DLL and a class? Pin
DREVET Olivier6-Mar-03 13:14
DREVET Olivier6-Mar-03 13:14 
AnswerRe: What is a DLL and a class? Pin
Anonymous6-Mar-03 13:25
Anonymous6-Mar-03 13:25 
GeneralRe: What is a DLL and a class? Pin
Nish Nishant6-Mar-03 13:48
sitebuilderNish Nishant6-Mar-03 13:48 
GeneralRe: What is a DLL and a class? Pin
Anonymous6-Mar-03 14:11
Anonymous6-Mar-03 14:11 
GeneralRe: What is a DLL and a class? Pin
Moak6-Mar-03 14:30
Moak6-Mar-03 14:30 
AnswerRe: What is a DLL and a class? Pin
Joan M9-Mar-03 21:38
professionalJoan M9-Mar-03 21:38 
QuestionHow to start under .NET Pin
Anonymous6-Mar-03 12:54
Anonymous6-Mar-03 12:54 
AnswerRe: How to start under .NET Pin
Nish Nishant6-Mar-03 13:47
sitebuilderNish Nishant6-Mar-03 13:47 
QuestionHow to retrieve CColorDlg "Basic colors" palette? Pin
Bartosz Bien6-Mar-03 12:29
Bartosz Bien6-Mar-03 12:29 
GeneralHiding text in a CStatic control Pin
work_to_live6-Mar-03 10:18
work_to_live6-Mar-03 10:18 
GeneralRe: Hiding text in a CStatic control Pin
Stefan Pedersen6-Mar-03 10:28
Stefan Pedersen6-Mar-03 10:28 
GeneralRe: Hiding text in a CStatic control Pin
Dave Bryant6-Mar-03 10:40
Dave Bryant6-Mar-03 10:40 
GeneralRe: Hiding text in a CStatic control Pin
work_to_live6-Mar-03 11:15
work_to_live6-Mar-03 11:15 
GeneralRe: Hiding text in a CStatic control Pin
Dave Bryant6-Mar-03 11:46
Dave Bryant6-Mar-03 11:46 
GeneralRe: Hiding text in a CStatic control Pin
work_to_live7-Mar-03 11:00
work_to_live7-Mar-03 11:00 
GeneralA goto box Pin
Anonymous6-Mar-03 10:08
Anonymous6-Mar-03 10:08 

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.