About GDI object?
Answers were Sorted based on User's Feedback
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 |
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 |
Explain Win32 Program Execution flow?
win 3.1 supports which type of multi tasking?
In win32 application if defining a variable of CString then it gives the error "CString:Undeclared identifier" how to solve the problem? What headerfile need to include??
sql query for delete duplicate records in sql datadbase
what are the design patterns of an MFC application
5 Answers Samsung, SunSoft Technologies,
what is the difference between MFC and Win32
5 Answers ArisGlobal, Microsoft,
What is an Hash Mapping in java?
Message to limit the size of window
About GDI object?
what is use of the createWindow object
What are the COM components
2 Answers SunSoft Technologies,
What is Function entry for DLL in win3.1?