Results 1 to 23 of 23

Thread: [RESOLVED] Upload PNG images into native Windows image list or vbAccelerator ImageList

Threaded View

  1. #4
    PowerPoster
    Join Date
    Jul 2010
    Location
    NYC
    Posts
    7,653

    Re: Upload PNG images into native Windows image list or vbAccelerator ImageList

    Another option is IExtractImage. I just checked and it did load PNGs for me; someone would need to double check to make sure it works on XP (if you limit to Vista+ there's even more native shell options, but this one is available on XP). IExtractImage returns an HBITMAP that ImageList_Add will accept. This obviously requires a typelib, and there's a few out there which have this interface designed for VB6, obviously my top rec being my own, but as a reminder, TLBs are NOT something that you install on an end-user system, they are only required during design time in the IDE.
    Last edited by fafalone; Jun 6th, 2017 at 07:56 PM.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width