Using Win32 functions in Visual FoxPro Image Gallery
Windows Controls
..msdn
ImageList_Add
ImageList_Create
ImageList_Destroy
ImageList_GetIconSize
ImageList_GetImageCount
ImageList_GetImageInfo
ImageList_Remove
InitCommonControlsEx
Code examples:
How to view icons stored in executable files (Icon Viewer) - II
ImageList_Create
    Add comment     W32 Constants      Translate this page
Creates a new image list.
Code examples:
How to view icons stored in executable files (Icon Viewer) - II
Declaration:
HIMAGELIST ImageList_Create(
    int cx,
    int cy,
    UINT flags,
    int cInitial,
    int cGrow
);
FoxPro declaration:
DECLARE INTEGER ImageList_Create IN comctl32;
    INTEGER cx,;
    INTEGER cy,;
    LONG listflags,;
    INTEGER cInitial,;
    INTEGER cGrow
Parameters:
cx
Width, in pixels, of each image.

cy
Height, in pixels, of each image.

flags
Set of bit flags that specify the type of image list to create.

cInitial
Number of images that the image list initially contains.

cGrow
Number of images by which the image list can grow when the system needs to make room for new images.
Return value:
Returns the handle to the image list if successful, or NULL otherwise.
Usage:
nFlag = BITOR(ILC_COLOR32, ILC_MASK)

THIS.himl = ImageList_Create(32, 32,;
    m.nFlag, 0, 512)
My comment:
See also: ImageList_Destroy
Word Index links for the ImageList_Create :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2007-05-24 18:26:33
Modified: 2007-06-11 19:59:56
Visited in last 7 days: 38
User Contributed Notes:
There are no notes on this subject.


Copyright 2001-2017 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.6.38), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.221.73.186)
16 sec.Function: 'RpcStringFree'
33 sec.Function: 'SQLGetPrivateProfileString'
49 sec.Function: 'GetLogicalDriveStrings'
1.1 min.Function: 'InternetSetCookie'
1.37 min.Function: 'GetKeyState'
1.63 min.Function: 'GetAclInformation'
1.9 min.Function: 'MAPIReadMail'
2.18 min.Function: 'GetParent'
2.45 min.Function: 'LoadLibrary'
2.72 min.Function: 'GdipGetDpiX'
Google
Advertise here!