Click here to Skip to main content
15,894,410 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CSV Pin
Cedric Moonen15-Dec-10 20:56
Cedric Moonen15-Dec-10 20:56 
AnswerRe: CSV Pin
Cedric Moonen15-Dec-10 20:28
Cedric Moonen15-Dec-10 20:28 
GeneralRe: CSV Pin
MsmVc15-Dec-10 20:44
MsmVc15-Dec-10 20:44 
QuestionSubclassing CHeaderCtrl in CListCtrl Pin
mesajflaviu15-Dec-10 8:54
mesajflaviu15-Dec-10 8:54 
AnswerRe: Subclassing CHeaderCtrl in CListCtrl Pin
Eugen Podsypalnikov15-Dec-10 9:09
Eugen Podsypalnikov15-Dec-10 9:09 
GeneralRe: Subclassing CHeaderCtrl in CListCtrl Pin
mesajflaviu16-Dec-10 21:07
mesajflaviu16-Dec-10 21:07 
GeneralRe: Subclassing CHeaderCtrl in CListCtrl Pin
Eugen Podsypalnikov17-Dec-10 0:37
Eugen Podsypalnikov17-Dec-10 0:37 
GeneralRe: Subclassing CHeaderCtrl in CListCtrl Pin
mesajflaviu19-Dec-10 20:40
mesajflaviu19-Dec-10 20:40 
AnswerRe: Subclassing CHeaderCtrl in CListCtrl Pin
Rolf Kristensen15-Dec-10 11:27
Rolf Kristensen15-Dec-10 11:27 
Question[SOLVED] Create ListView ActiveX using MFC Pin
martinergb15-Dec-10 6:47
martinergb15-Dec-10 6:47 
AnswerRe: Create ListView ActiveX using MFC Pin
User 742933815-Dec-10 6:59
professionalUser 742933815-Dec-10 6:59 
GeneralRe: Create ListView ActiveX using MFC Pin
martinergb15-Dec-10 16:01
martinergb15-Dec-10 16:01 
Questionremove unwanted resource VC6 Pin
cy163@hotmail.com15-Dec-10 1:59
cy163@hotmail.com15-Dec-10 1:59 
AnswerRe: remove unwanted resource VC6 Pin
R@jeev K R15-Dec-10 2:16
R@jeev K R15-Dec-10 2:16 
QuestionCMap Issue. Pin
janaswamy uday15-Dec-10 0:19
janaswamy uday15-Dec-10 0:19 
AnswerRe: CMap Issue. Pin
R@jeev K R15-Dec-10 1:25
R@jeev K R15-Dec-10 1:25 
QuestionProblem in closing the thread Pin
learningvisualc14-Dec-10 19:00
learningvisualc14-Dec-10 19:00 
AnswerRe: Problem in closing the thread Pin
Rajesh R Subramanian14-Dec-10 19:52
professionalRajesh R Subramanian14-Dec-10 19:52 
AnswerRe: Problem in closing the thread Pin
Cedric Moonen14-Dec-10 20:45
Cedric Moonen14-Dec-10 20:45 
AnswerRe: Problem in closing the thread Pin
User 742933814-Dec-10 22:06
professionalUser 742933814-Dec-10 22:06 
AnswerRe: Problem in closing the thread Pin
yu-jian15-Dec-10 2:55
yu-jian15-Dec-10 2:55 
QuestionQuestion on MFC program execution procedure [modified] Pin
cy163@hotmail.com14-Dec-10 2:14
cy163@hotmail.com14-Dec-10 2:14 
AnswerRe: Question on MFC program execution procedure Pin
bleedingfingers14-Dec-10 2:55
bleedingfingers14-Dec-10 2:55 
There are a lot of things here to explain. I suggest you to either buy a book or read MSDN. However to answer you,

What you see is what happens when you have the doc/view architecture. Try removing it from the project creation process and you will get a completely different set of code and code flow.

WRT this particular instance that you are asking about, the steps are pretty simple actually. A document template is created and marked. The ProcessShellCommand(...) does some bit of processing that creates a document, frame (with menu etc) and the view. Look into that function. The CCommandLineInfo constructor initiates the operation to CCommandLineInfo::FileNew. Then the created window is shown and asked to repaint itself with the call to UpdateWindow() And it all begins in InitInstance() because that is the starting point for the actual creation of the application/process.
...byte till it megahertz...

my donation to web rubbish

AnswerRe: Question on MFC program execution procedure Pin
David Crow14-Dec-10 3:02
David Crow14-Dec-10 3:02 
AnswerRe: Question on MFC program execution procedure Pin
yu-jian14-Dec-10 17:59
yu-jian14-Dec-10 17: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.