Results 1 to 10 of 10

Thread: obtain a 32-bit icon from the resource in IDE

Threaded View

  1. #8
    New Member
    Join Date
    Sep 2009
    Posts
    4

    Re: obtain a 32-bit icon from the resource in IDE

    Quote Originally Posted by LaVolpe View Post
    I'd imagine the only way is to build the res file yourself, with/without resHacker...
    nope. thats the preferred way unless you use some of the VC executable (rc for example) to create a valid win32 binary file. it is longer and not necessary for most programmers.

    Quote Originally Posted by LaVolpe View Post
    However, VB corrupting the icon is troublesome -- what a hassle.
    thats that...
    vb6 does not support directly 32bit (alpha transparency) images, thats why
    you are using a 3'rd party application that does.


    Quote Originally Posted by LaVolpe View Post
    ...Not sure it is worth it. May be much simpler to load your icon in the Custom section, use LoadResData to extract bytes & send bytes to API for an icon handle.
    yes vb6 should work fine with some bitwise operation.

    although I recommended using GDI+ API Library,
    use can use GDIPlus Wrapper project to load and manipulate images, loading from resources or files.

    I've attached 2 zip files for you to download.
    you can find out more about this project searching in PlanetSourceCode.

    Elad Karako
    http://iCompile.0fees.net
    Attached Files Attached Files
    Last edited by eladkarako; Oct 2nd, 2010 at 05:38 AM.

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