CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 1999
    Location
    NH, USA
    Posts
    47

    Displaying 16x16 icon

    I inserted a new icon into my resource, and it automatically gave me a 32x32 icon. All I want is a 16x16 icon. So I figured I would programmatically tell it to load the 16x16 one. So far I've had no luck.

    Does anyone know how to do this? I'm using VC++ 6.0


  2. #2
    Join Date
    Apr 1999
    Posts
    396

    Re: Displaying 16x16 icon

    Use LoadImage instead of LoadIcon, that way you can specify the size of the image requested. Then draw it with DrawIconEx


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

Featured