Why my program enter OnInitialUpdate but do not enter OnCreate

  • Thread starter Thread starter earlyBirdHappyFly
  • Start date Start date
E

earlyBirdHappyFly

Guest
My project is based on MFC.

I have a derived class derived from CScrollView.I set breakpoints at the class's constructor ,OnInitialUpdate and OnCreate .

I find it enters OnInitialUpdate after entering the constructor ,but does not enter OnCreate.

Is not every CWnd should call the OnCreate after its constructor ?

Looking forward for your replying.

Best wishes to you.

Continue reading...
 
Back
Top