(MFC C++) Can I set icon of resolution higher than 256*256 to MFC application?

Radhika 46 Reputation points

I am currently working on an MFC C++ Application on Visual Studio version 2019.

The .ico file that gets created when we add an icon in resources contains the icons of different sizes in which the maximum resolution is 256x256, 32 bit.. Can we add an image type which has higher resolution than 256*256? If yes, how can I set this high resolution icon as icon of my application?

Working environment: Windows 10, Visual Studio - 16.11.15

Any help would be appriciated.

A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
2,627 questions
No comments
{count} votes

Accepted answer
  1. Minxin Yu 3,096 Reputation points Microsoft Employee

    Hi, @Radhika

    Icons have a maximum size of 256x256 pixels.
    For your reference: Icons (Design basics)

    Best regards,

    Minxin Yu

    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

0 additional answers

Sort by: Most helpful