The frame - document view architecture, Visual Basic Programming

The Frame:

As the name suggests, the frame is a combination of the building blocks, structure and the borders of an item. The frame gives the "physical" presence to a window. The frame defines the position of an object with regards to the Windows desktop. The frame gives borders to a window, borders which the user can grab to size, move & resize the object. The frame is also a type of desk which holds the tools required on an application.

The application cannot exist without a frame. To provide a frame to an application, you can derive a class from the CFrameWnd.

The MFC provides a mechanism for notifying the views of modifications to a document through the UpdateAllViews member function of the CDocument class. The UpdateAllViews function traverse the list of views attached to the document. The function calls the OnUpdate of the CViewClass . Invalidate (TRUE) in OnUpdate clears the client region of the view and calls the OnDraw()function of the view class. The Document View architecture permits the variables in the document class to be exhibited in the view class using the GetDocument() function in the view class.

Posted Date: 10/10/2012 1:42:41 AM | Location : United States







Related Discussions:- The frame - document view architecture, Assignment Help, Ask Question on The frame - document view architecture, Get Answer, Expert's Help, The frame - document view architecture Discussions

Write discussion on The frame - document view architecture
Your posts are moderated
Related Questions
Ask question #Minimum 10Public Class Form1 ''=============================================== ''Date: June 24, 2014 ''Author: Xochitl Nisbet ''Purpose: Convert Celsi

How to Include List Box control in your project A list box is used for representing the users with a data. You can prefer the data from the list box for data entry. No editing


CONTROL STATEMENTS   The conditional expression uses a comparison operator that results in true or false value. If the comparison is valid the outcome is true, or else the out

everything about events

Would it be possible to see an example of an array program that tracks rent in different apartment buildings and is modular?

ToolTip: The ToolTip property is used to flash a message regarding a control object when the mouse pointer moves over that object for a couple of seconds. Pick a control and c

I would like to know how to deploy a VB.NET Application using SQL SERVER as a back-end database

This is a series of VBScript statements enclosed through the Function & End Function statements. A Function procedure is same to a Sub procedure, however can also return a value. T

Write Visual Basic programs for the following: 1.     Write a program that uses a "For Loop" to generate a list of temperature conversions in one degree increments from a given