Advertisement

09.23.1999 at 06:05AM PDT, ID: 10209943
[x]
Attachment Details

Large/Small Icon Problem?

Asked by cunningham in Windows Programming

Tags: icon, 16x16

I think that I must be missing something basic about how Windows displays icons. My large 32x32 icon looks good but when Windows displays it as a 16x16 icon (as in the taskbar), it looks crappy because every other row of pixels is removed. I tried inserting a 16x16 icon as a New Device Image in the icon editor, but Windows did not want to display that icon. I thought that the code:

SetIcon(m_hIcon, TRUE);  // Set big icon
SetIcon(m_hIcon, FALSE); // Set small icon

would set the icons such that the 32x32 icon would get displayed for cases that call for 32x32 icons and the 16x16 icon would get displayed for cases that call for a 16x16 icon. Obviously, this assumption is wrong.

How can I get Windows to display a nice 32x32 icon (such as in the desktop) and a nice 16x16 icon (such as in the taskbar)?Start Free Trial
 
Keywords: Large/Small Icon Problem?
 
Loading Advertisement...
 
[+][-]09.23.1999 at 06:15AM PDT, ID: 2069127

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Windows Programming
Tags: icon, 16x16
Sign Up Now!
Solution Provided By: Zoppo
Participating Experts: 2
Solution Grade: A
 
 
[+][-]09.23.1999 at 07:46AM PDT, ID: 2069429

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.23.1999 at 08:08AM PDT, ID: 2069507

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09.28.1999 at 04:18AM PDT, ID: 2080858

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.28.1999 at 04:34AM PDT, ID: 2080883

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09.28.1999 at 04:49AM PDT, ID: 2080911

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.28.1999 at 04:52AM PDT, ID: 2080919

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.28.1999 at 04:53AM PDT, ID: 2080922

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.28.1999 at 04:55AM PDT, ID: 2080926

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.28.1999 at 05:07AM PDT, ID: 2080962

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32