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
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

Methods: VBScript Dictionary Object Method D escription Add Method Adds a key, item pair. Exists Method

INTRODUCTION TO VB: The Windows programming is an event driven programming. The VB uses the Hungarian Notation for naming the variables. It deals with new data types like HWND,

I have an assignment In HCI , can anyone help me ?

sir , i need visual basic form design & coding for Reynolds number & type of flow .

Indexing: In libraries, the card catalog is the index. The three indices are used in the library. The Author, Subject and title are the 3 indices. Each index is relative. The

A For Each...Next loop is similar to a For...Next loop. Rather than repeating the statements a particular number of times, For Each...Next loop repeats group of statements for each

#questiontypes of lines and how to draw

I need a VB6 software for making a soccerboard for 10 teams & automatically generate their fixtures

Create a project that draw a rectangle shape which may be either (*) or (+) according to the selected radio button. The number of rows in the shape will be taken from the 1 st