Using Win32 functions in Visual FoxPro Image Gallery
Icon
..msdn
CopyIcon
DestroyIcon
DrawIcon
ExtractAssociatedIcon
ExtractIcon
GetIconInfo
LoadIcon
Code examples:
Drawing cursors for the classes defined by the system (preregistered): BUTTON, EDIT, LISTBOX etc.
Drawing icons associated with the VFP main window
Drawing standard Windows icons
How to view icons stored in executable files (Icon Viewer)
Storing screen shot of a form to bitmap file
DrawIcon
..msdn    Add comment     W32 Constants      Translate this page
Draws an icon or cursor into the specified device context.
Code examples:
Storing screen shot of a form to bitmap file
Drawing cursors for the classes defined by the system (preregistered): BUTTON, EDIT, LISTBOX etc.
Drawing standard Windows icons
Drawing icons associated with the VFP main window
How to view icons stored in executable files (Icon Viewer)
Declaration:
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
);
FoxPro declaration:
DECLARE SHORT DrawIcon IN user32;
    INTEGER hDC,;
    INTEGER X,;
    INTEGER Y,;
    INTEGER hIcon
Parameters:
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.
Return value:
If the function succeeds, the return value is nonzero.
Word Index links for the DrawIcon :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2001-08-21 12:00:00
Modified: 2001-11-26 16:03:19
Visited in last 7 days: 29
User Contributed Notes:
There are no notes on this subject.


Copyright 2001-2014 News2News, Inc. Before reproducing or distributing any data from this site please ask for an approval from its owner. Unless otherwise specified, this page is for your personal and non-commercial use. The information on this page is presented AS IS, meaning that you may use it at your own risk. Microsoft Visual FoxPro and Windows are trade marks of Microsoft Corp. All other trademarks are the property of their respective owners. 

Privacy policy
Credits: PHP (4.4.9), an HTML-embedded scripting language, MySQL (5.1.68), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.205.205.47)
2 sec.Example: 'How to change display settings: screen resolution, screen refresh rate'
Language: 'C#'
4 sec.Function: 'Escape'
6 sec.Example: 'Enumerating ODBC drivers available on the local computer'
8 sec.Function: 'RtlCompressBuffer'
10 sec.Function: 'mmioCreateChunk'
Function group: 'Windows Multimedia'
13 sec.Function: 'waveOutOpen'
Function group: 'Windows Multimedia'
Google
Advertise here!