hey everyone I was wondering could someone tell me about the .hdc property, like how it is used..
thanks.
Printable View
hey everyone I was wondering could someone tell me about the .hdc property, like how it is used..
thanks.
MSDN says:--
This property is a Windows operating environment device context handle. The Windows operating environment manages the system display by assigning a device context for the Printer object and for each form and PictureBox control in your application. You can use the hDC property to refer to the handle for an object's device context. This provides a value to pass to Windows API calls.
device context:
A link between a Windows-based application, a device driver, and an output device such as a display, printer, or plotter.
This property is assigned by Windows to ur form and u can this property to use with API drawing Functions