Device context - visual c++, Visual Basic Programming

DEVICE CONTEXT

The device context provides the essential drawing tools and the platform to draw. It helps to draw the text, shapes, lines etc. To create the device context, the MFC provides different classes like CDC and CClientDC.

The CDC is the most primary class to draw in MFC. It provides all of the fundamental drawing steps.

The CClientDC class is used for drawing in the client region of a window.

The Device context is a windows data structure which supports the device independent output.

The function of device context is best elaborated by the figure.

624_role of device context.png

Figure: The Role of Device Context

The logical display is a virtual device and Actual display is the physical device. The programmers do not require worrying about the medium in which he is writing the output. The device context takes care of the output medium.

Posted Date: 10/10/2012 1:31:48 AM | Location : United States







Related Discussions:- Device context - visual c++, Assignment Help, Ask Question on Device context - visual c++, Get Answer, Expert's Help, Device context - visual c++ Discussions

Write discussion on Device context - visual c++
Your posts are moderated
Related Questions
The following table lists suggested conventions for objects you might encounter while programming VBScript. Code Commenting Conventions All process should begin with a brie

The View: The view is used for visualising. For illustration, while performing word processing, the user works on a sequence of words which compose the text. If a user is perf

i need sample balance sheet form in vb.net

This is a member of Microsoft's Visual Basic family of development products. Other members comprise Visual Basic (Professional and Standard Editions) & Visual Basic for Application

outline and explain in detail any 10 applications of vb.net

anumberisprimeornot

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

I would like someone to look at my code and tell me why it''s not working

Create the flowcharts using MS Visio, MS Excel or MS Word to demonstrate the algorithm. Submit your flowchart under the assignment for CH7-4-26 Flowchart. Part Printouts H

Displaying The Database: The Text box, image box, check box, labels, picture box can be bounded to the data control for exhibiting the data base contents. The two properties a