About GDI object?

Answers were Sorted based on User's Feedback



About GDI object?..

Answer / ali saida shaik

GDI(Graphical Device Interface)having the collection of
Objects(pen,brush,cusror,bitmap..) thats are Interface to
the Graphics. To handle Grahics Objects we are using the
HDC (Handle Device Context)In Win32 API.for selecting the
object we r using the SelectObject(HDC,Object) function.
and after compleetion For Releasing Object we r using
ReleaseObject(HWND,HDC).

Is This Answer Correct ?    15 Yes 0 No

About GDI object?..

Answer / naviyr

GDI object (is a graphical device object) used to write on a
device context for graphical output.
GDI objects are: Pen, Brush, Font,Line, Rectangle etc.
These objects are created using their corresponding win32
function. For eg, CreatePen, CreatePenIndirect are used to
create a pen object.
After these objects are created they would need to be
selected to the device context before processing using
"SelectObject" function.
GDI objects are not associated with any device context
during its creation. SelectObject function does that
assocaition.
Once an object is selected into the device context it would
be available until the object is destroyed through
DeleteObject or the program exits.

Is This Answer Correct ?    7 Yes 2 No

Post New Answer

More Win32API Interview Questions

what API used to hide window

2 Answers  


explain WM_PAINT message ?????

0 Answers  


what Message displayed when a window is destroyed

3 Answers  


sql query for delete duplicate records in sql datadbase

0 Answers  


Hi All, i got through he h1b Lotreey in india. US staming in the consulate is pendding . i applied from india for H1b but currently i am in germany for 1 year .i wanted to know can i attend the interview in germany.

1 Answers   MultiVision,






What is System call executable binary file into a process?

0 Answers  


what is the stack size in win 32 program

0 Answers  


write About send message and post message

4 Answers  


what is the function to repaint a window immediately?

2 Answers  


About GDI object?

2 Answers  


win 3.1 supports which type of multi tasking?

2 Answers   TISL,


to take three string inputs in a two dimensional array of 3 rows and 15 columns and write a function that prints them.

0 Answers  


Categories