Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is the difference between OnInitialUpdate and OnUpdate?

Answers were Sorted based on User's Feedback



What is the difference between OnInitialUpdate and OnUpdate?..

Answer / adil mir ajk uni mzd

OnInitialUpdate( ) is a virtual view function Called by the
framework after the view is first attached to the document,
but before the view is initially displayed. The default
implementation of this function calls the OnUpdate member
function
OnUpdate() is called by the framework when the doc has been
modified.It is actually called by UpdateAllViews() to
reflect changes in all the views associated with the doc.

Is This Answer Correct ?    3 Yes 0 No

What is the difference between OnInitialUpdate and OnUpdate?..

Answer / satheeshkedarisetti

Both are uses for to update the view. OnInitialUpdate()
updates the view while initialization, this function called
by framework while initialization. but default
implemenation calls OnUpdate function. if the window is
resizable or it has scroll bars, use OnUpdate() to change
the scroll limits and document changes.

Is This Answer Correct ?    2 Yes 0 No

What is the difference between OnInitialUpdate and OnUpdate?..

Answer / krishna akkulu

Both update the view, But

OnInitialUpdate, called when the view is first created
OnUpdate, called when the document updates its views

Is This Answer Correct ?    3 Yes 1 No

What is the difference between OnInitialUpdate and OnUpdate?..

Answer / priyanka

OnInitialUpdate() is called after a view is first attached
to the doc and before it gets displayed.We can override it
to put some initializations containing info abt the doc.It
calls OnUpdate().
OnUpdate() is called by the framework when the doc has been
modified.It is actually called by UpdateAllViews() to
reflect changes in all the views associated with the doc.

Is This Answer Correct ?    1 Yes 0 No

What is the difference between OnInitialUpdate and OnUpdate?..

Answer / jianhua wang

OnInitialUpdate( ) is a virtual view function Called by the
framework after the view is first attached to the document,
but before the view is initially displayed. The default
implementation of this function calls the OnUpdate member
function
OnUpdate( ) is a virtual view function Called by the
framework after the view's document has been modified; this
function is called by CDocument::UpdateAllViews and allows
the view to update its display to reflect those modifications.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More MFC Interview Questions

What is userdefine Messages in MFC?

1 Answers   HCL,


1)How to change the size of a button at run time ?

1 Answers  


what is functioning of DIalodDataXchange ..?

0 Answers  


how do u identify RTTI in vc++

4 Answers   Siemens,


What is the difference between hinsrtance and hprevinstance in WinMain function?

3 Answers  


What is the difference between Struts and JSF? Pls list some most suitable differences.

0 Answers  


what message is sent to an application when the user presses the primary button?

0 Answers   University Exams,


1)To Remove WS_MINIMIZEBOX in a Frame ?

1 Answers  


i have created runtime menu -- ( admistrator ->managepackage,manage module). but now i want to open a dialog when i select manage package and any other diaolg when selecting manage module ( whole selection is at run time only ) . Please HELP .its urgently required

3 Answers   Patni,


How to update all the views whenver document got updated ?

1 Answers  


In VC++ How to transfer between one exe to another exe while running..

5 Answers   Wipro,


if both base and derived class have the constructors if i create an object for derive class which class constructor is executed first

10 Answers   Siemens, Symphony,


Categories