CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5
  1. #1
    Join Date
    Apr 1999
    Posts
    51

    Icon Size in Picture Control

    Is there a way to specify the icon size used in a picture control on a dialog or view set to type icon? My icons have 32x32 and 16x16 size and when I specify an icon for the picture control, it defaults to 32x32.

    Thanks,

    Steve

    Steven M. McNeese
    [email protected]

  2. #2
    Join Date
    May 1999
    Location
    Republic of Korea
    Posts
    100

    Re: Icon Size in Picture Control

    Use DrawIconEx()!

    Good luck.

    Walter


  3. #3
    Join Date
    Apr 1999
    Posts
    7

    Re: Icon Size in Picture Control

    May I know which function are you using to load the icon?


  4. #4
    Join Date
    Apr 1999
    Posts
    7

    Re: Icon Size in Picture Control

    Before that you have to use LoadImage().


  5. #5
    Join Date
    Apr 1999
    Posts
    51

    Re: Icon Size in Picture Control

    Sorry it was not clear. I am adding an icon using the resource editor.

    Steven M. McNeese
    [email protected]

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