Smart Device Functions:
Public Declare Function ReleaseDC Lib "user32.dll" _
An application cannot use the ReleaseDC function to release a DC that was created by calling the CreateDC function; instead, it must use the DeleteDC function. ReleaseDC must be called from the same thread that called GetDC.
Tips & Tricks:
Using managed DC functions for API's that require the DC work almost just as well as the API DC functions themselves.
For .NET Compact Framework, change user32.dll to coredll.dll.
Alternative Managed API:
8-5-06 Update by Gabriel T. Sharp (firstname.lastname@example.org)
Creates a device context for a device using the specified name.
2/6/2012 3:09:59 AM - -22.214.171.124
The DeleteDC function deletes the specified device context (DC).
2/6/2012 3:12:48 AM - -126.96.36.199
The TextOut API
4/21/2013 1:44:24 PM - -188.8.131.52
The GetTextExtentPoint API
3/16/2011 2:23:45 PM - -184.108.40.206
Please edit this page!
Do you have...