|
-
July 17th, 1999, 12:04 PM
#1
ImageList_Write
I'm writing my own ImageList control using the COMCTRL32 library and I ran into the ImageList_Write function on the MSDN CD. Is there any way to implement this function in VB?? The only argument is a pointer to a stream(object?) in C++. Can I fake the stream with a Byte array? As is I have the GetDIBits function reading out the ImageList images into a Byte Array, which took me a few days to figure out, but if I can get the same effect with the ImageList_Write function I'd rather do that and stick with the native functions. Maybe I should mention my purpose is to retain the ImageList images so they don't get wiped out between design/run/dead time. The GetDIBIts function works OK but it takes a lot of processing...
-
July 19th, 1999, 03:30 AM
#2
Re: ImageList_Write
I wouldn't bother trying to write your own imagelist - http://vbaccelerator.com have an imagelist written completely in VB that supports all the interfaces of the one in the common controls dll - you get all the source code too.
Chris Eastwood
CodeGuru - the website for developers
http://www.codeguru.com/vb
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|