Problem with an icon in the TaskBar status area

This is a discussion on Problem with an icon in the TaskBar status area within the Windows Programming forums, part of the Platform Specific Boards category; I'm writing a windows application that has an icon in the TaskBar status area. In order to do that I'm ...

  1. #1
    Registered User
    Join Date
    Jul 2004
    Posts
    35

    Problem with an icon in the TaskBar status area

    I'm writing a windows application that has an icon in the TaskBar status area. In order to do that I'm using Shell_NotifyIcon . Everything is ok except for one thing: the icon doesn't show very well.

    I've written a small web page in order to ilustrate what happens:
    http://ciberia.ya.com/dit6a9/

    Why does my application icon looks so awful in the TaskBar status area, especially when it looks perfectly in the Windows explorer?

    I've got another more question. As you see in the web page I've written to describe my problem, the .ico files actually contains 8 icons. How can I access every icon individually if for example I want to extract them? If I don't indicate anything, which is what I'm doing now, which icon is the one that Windows chooses to show in the TaskBar status area? Does Windows choose it automatically or is there any way I can indicate which to use? Do I have to do it?

  2. #2
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    Posts
    4,662
    Read up on icons here.

    What is the bit-depth of the video mode you're currently running? What OS?

    Read up on the hIcon member of the NOTIFYICONDATA structure to see why I'm asking.

    gg

  3. #3
    Registered User
    Join Date
    Jul 2004
    Posts
    35
    I'm using Windows 2000. I've attached the icon and a capture of my PC resolution settings. As I told you in my previous post (remeber http://ciberia.ya.com/dit6a9/) the question is why Windows Explorer is capable of showing the icon perfectly but the TaskBar status area can't when I add it programmatically.

    Since I've got to go to work in a few minutes , now I can't test reading up on the hIcon member of the NOTIFYICONDATA structure, but I'll do later today and I'll tell you. Thanks.
    Attached Images Attached Images  
    Attached Files Attached Files

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. beginner problem
    By The_Nymph in forum C Programming
    Replies: 4
    Last Post: 03-05-2002, 04:46 PM
  2. Taskbar Problem
    By sombra in forum Windows Programming
    Replies: 0
    Last Post: 03-01-2002, 04:26 PM
  3. Random Number problem in number guessing game...
    By -leech- in forum Windows Programming
    Replies: 8
    Last Post: 01-15-2002, 04:00 PM
  4. problem with output
    By Garfield in forum C Programming
    Replies: 2
    Last Post: 11-18-2001, 07:34 PM
  5. Big Code, Little Problem
    By CodeMonkey in forum Windows Programming
    Replies: 4
    Last Post: 10-03-2001, 05:14 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21