Re: ImageList Questions
- Posted by ssallen Oct 15, 2009
- 1044 views
My apologies,
Yes I am using Win32lib. I guess my question is how to interact with the ImageLists. For instance, the documentation only lists five routines for ImageLists:
- 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
- proc setImageList( integer id, atom IL, atom size )
The first four are plain enough to understand but the 5th asks for arguments I dont understand. I image id is the control ID (i.e. List81 or whatever) but how do I get the handle for IL... and what exactly does size want? If I can't create an ImageList how do I get its handle? Is size the amount of pixels per image or total of all images?
Thats probably my core questions.
Thanks Matt!
Steve A.