Group: Device Context - Library: gdi32
How to view icons stored in executable files (Icon Viewer) - II
Retrieving graphic capabilities of default printer
How to print FoxPro form
Converting twips to pixels and vice versa
Retrieving graphic capabilities of your display
How to print a bitmap file
Printing text with the Escape function
Subclassing CommandButton control to create BackColor property
Vertical Label control
Storing screen shot of a form to enhanced metafile (*.emf)
Copying picture of the active form to the Clipboard using Enhanced Metafile API functions
How to print picture stored in enhanced-format metafile (*.emf)
How to print FoxPro form -- II
Displaying the associated icons and descriptions for files and folders
How to find which fonts Windows uses for drawing captions, menus and message boxes
int GetDeviceCaps(
HDC hdc, // handle to DC
int nIndex // index of capability
);
DECLARE INTEGER GetDeviceCaps IN gdi32;
INTEGER hdc,;
INTEGER nIndex
hdc [in] Handle to the DC.
nIndex [in] Specifies the item to return. This parameter can be one of the predefined values (see examples).
The return value specifies the value of the desired item.
See also: SYSMETRIC()