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
how do i create a change calculator that gives the denominations of coins for an amount of change up to .99 cents

Benefits of Using DLLs: The dynamic linking has the following advantages which are as shown below: It saves memory and decreases the swapping. Many processes can use a s

Ask question #Minimum 10Public Class Form1 ''=============================================== ''Date: June 24, 2014 ''Author: Xochitl Nisbet ''Purpose: Convert Celsi

DYNAMIC LINK LIBRARY - DLL   The DLL are files which can be called when required by the other program that is running in the computer. The DLL files which support the specific

What are the differences between Property Get, Set and Let? Set - Value assigned to ActiveX Object from the form. Let - Value retried to ActiveX Object from the form. Get- Assigns

The Document: The document contains the user's data. For illustration, after working on a text processor, the user may wish for to save the file. Such an action builds a docum

STORAGE AND RETRIEVAL SYSTEMS   The storage system is a depository. It is a physical container and gives mechanisms to put in the depository and take them back. The retrieval

i have connected my visual basic 2010 express in ports and use it to send sms but it failed... now my teacher said that i have to use my LAN not port to send it instead..... please

Aim: To exhibit what is the day when the second command button is clicked and to clear the screen when the first command button is clicked. The functioning of this program is

what mean by programing