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
Hungarian Notation: The Hungarian Notation was invented by Charles Simonyi from Microsoft. It is a naming convention. It is a reminder of the type of a variable. The Handles h

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

Displaying the file Without Scrolling: To display a file follow the steps as shown below: 1. Generate a SDI application. 2. Type the coding as shown in the Serialize els

You are asked to create the LOTO game customized according to the following constraints: 1. Create a grid containing 20 numbers (20 buttons: button1, button2, …button20) 2. When t

Problem 1. Describe the importance and usage of .net framework in visual Studio 2. Write a program to sort and display an array of integers in ascending order using the conc

i want to use two forms in vb.net. when the progress bar in form1 reaches on a specific value then disable form1 and progress bar will stop and the second Form2 will popup which wi

MESSAGES The Windows-based applications do not make explicit function calls to acquire input. They wait for the system to pass the input to them. The system passes input to the

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

MENUS AND TOOL BARS   The Menu options can be checked, enabled, disabled, and popped up on an object. The Menu Object: The Menu control is used to generate a menu in

VBScript Operators VBScript contain a full range of operators, including comparison operators, arithmetic operators, concatenation operators, and logical operators.