Documentation for Win32lib v0.60.6
Table of Contents
These routines deal with win32lib's ImageList controls.
func addDIB( hBmp ) Adds DIB's to win32lib's imagelists
func addEuBmp( bmp ) Adds EuBitmaps to win32lib's imagelists
func addIcon( hIcon ) Adds icons to win32lib's imagelists
func addXpm( xpm ) Adds xpm's to win32lib's imagelists
Documentation for Win32lib v0.60.6
Table of Contents
Adds DIB's to win32lib's imagelists
Returns: Index to image
Category: Image Lists
This function is used to add images for ListView, TreeView,
ComboBoxEx and FlatToolBar controls. There are two ways to
use addDIB:
hBmp is a handle to a DIB (see createDIB)
used for ListView, TreeView, ComboBoxEx
hBmp is a sequence of 3 handles to DIBs
used for FlatToolBar
The DIBs passed for the FlatToolBar should be the images to be used
for the default, hot and disabled images, respectively.
NOTE: This function does not work very well, due to difficulties
in generating a mask for the image. Use addEuBmp or addXpm if
possible.
See Also:
addEuBmp,
addIcon,
addXpm
Documentation for Win32lib v0.60.6
Table of Contents
Adds EuBitmaps to win32lib's imagelists
Returns: Index to image
Category: Image Lists
This function is used to add images for ListView, TreeView,
ComboBoxEx and FlatToolBar controls. There are two ways to
use addEuBmp:
bmp is a sequence in Eu Bitmap form
used for ListView, TreeView, ComboBoxEx
xpm is a sequence of 3 Eu Bitmaps
used for FlatToolBar
The Bitmaps passed for the FlatToolBar should be the images to be used
for the default, hot and disabled images, respectively.
See Also:
addDIB,
addIcon,
addXpm
Documentation for Win32lib v0.60.6
Table of Contents
Adds icons to win32lib's imagelists
Returns: Index to image
Category: Image Lists
This function is used to add images for ListView, TreeView,
ComboBoxEx and FlatToolBar controls. There are two ways to
use addIcon:
hIcon is an icon handle
used for ListView, TreeView, ComboBoxEx
hIcon is a sequence of 3 icon handles
used for FlatToolBar
The icons passed for the FlatToolBar should be the images to be used
for the default, hot and disabled images, respectively.
Note: If hIcon is zero, it is ignored and zero is returned.
Example
object ret, dd
dd = dir("c:\\windows\\*.exe")
for i = 1 to length(dd) do
ret = addIcon(extractIcon("c:\\windows\\" & dd[i][D_NAME]))
ret = addLVItem(lv, ret, {dd[i][D_NAME], "xxx"})
end for
See Also:
addDIB,
addEuBmp,
addXpm
Documentation for Win32lib v0.60.6
Table of Contents
Adds xpm's to win32lib's imagelists
Returns: Index to image
Category: Image Lists
This function is used to add images for ListView, TreeView,
ComboBoxEx and FlatToolBar controls. There are two ways to
use addXpm:
xpm is an xpm sequence
used for ListView, TreeView, ComboBoxEx
xpm is a sequence of 3 xpm's
used for FlatToolBar
The xpm's passed for the FlatToolBar should be the xpms to be used
for the default, hot and disabled images, respectively.
See Also:
addDIB,
addEuBmp,
addIcon