Navigation: thinBasic Modules > UI (User Interface) > CONTROLs > Dedicated Control Functions > ImageList > ImageList_Add |
|
Description
Add an image to an ImageList.
Syntax
Idx = ImageList_Add(BITMAP, iList, sFileBMP [, sFileMask])
Idx = ImageList_Add(ICON , iList, sFileIcon)
Idx = ImageList_Add(MASKED, iList, sFileMask, nRGB)
Returns
Number
The index position of the added image starting from 1. Zero if operation fails.
Parameters
Name |
Type |
Optional |
Meaning |
ICON BITMAP MASKED |
Keyword |
No |
|
iList |
Number |
No |
Handle of the ImageList to delete. This is the handle returned by ImageList_New function |
sFile... |
String |
No |
|
sFileMask |
Number |
Yes |
|
nRGB |
Number |
No |
Remarks
Restrictions
See also
Examples
© 2004-2008 thinBasic. All rights reserved. | Version 1.7.0.0 | Web Site: http://www.thinbasic.com |