Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- The Guide to Clip-4-Win version 3.0 - <b>deletedc()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
DeleteDC()
Delete a device context and free its resources
------------------------------------------------------------------------------

Syntax
DeleteDC( <hDC> )   -->   lSuccess

Arguments
<hDC> is the handle of the device context to delete.

Returns
If successful, logical TRUE (.T.) is returned, otherwise FALSE
(.F.) is returned.

Description
Drawing in Windows is done using GDI (graphics device
interface) functions, which require a handle to a device
context.  This function deletes a device context previously
obtained from the CreateDC() or GetPrintDC() function.

Example
See CreateDC() or GetPrintDC().


See Also: CreateDC() GetPrintDC() ReleaseDC()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson