Drawing standard Windows icons
How to view icons stored in executable files (Icon Viewer)
Storing screen shot of a form to bitmap file
Drawing icons associated with the VFP main window
Drawing cursors for the classes defined by the system (preregistered): BUTTON, EDIT, LISTBOX etc.
BOOL DrawIcon(
HDC hDC, // handle to DC
int X, // x-coordinate of upper-left corner
int Y, // y-coordinate of upper-left corner
HICON hIcon // handle to icon
);
DECLARE SHORT DrawIcon IN user32;
INTEGER hDC,;
INTEGER X,;
INTEGER Y,;
INTEGER hIcon
hDC [in] Handle to the device context into which the icon or cursor will be drawn.
X [in] Specifies the logical x-coordinate of the upper-left corner of the icon.
Y [in] Specifies the logical y-coordinate of the upper-left corner of the icon.
hIcon [in] Handle to the icon to be drawn.
If the function succeeds, the return value is nonzero.