Re: ImageList Questions

new topic     » goto parent     » topic index » view thread      » older message » newer message

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:

  1. func addDIB( hBmp ) Adds DIB's to win32lib's imagelists
  2. func addEuBmp( bmp ) Adds EuBitmaps to win32lib's imagelists
  3. func addIcon( hIcon ) Adds icons to win32lib's imagelists
  4. func addXpm( xpm ) Adds xpm's to win32lib's imagelists
  5. 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.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu