Ok. I have C++ .Net (v7.1 2003). I can't seem to add XP icons (32 bit) to
the resource file. How is this done?

Re: XP icons by Igor

Igor
Sat Aug 20 16:01:07 CDT 2005

"Lindsay" <me@home.com> wrote in message
news:43079815$0$1305$ed2619ec@ptn-nntp-reader02.plus.net
> Ok. I have C++ .Net (v7.1 2003). I can't seem to add XP icons (32
> bit) to the resource file. How is this done?

The resource compiler does not care, it's just that the icon editor
built into VS is fairly primitive. You will have to edit the icon in a
more capable third party editor, then add an .ico file to your
resources.
--
With best wishes,
Igor Tandetnik

With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going to
land, and it could be dangerous sitting under them as they fly
overhead. -- RFC 1925



Re: XP icons by Lindsay

Lindsay
Sat Aug 20 16:13:53 CDT 2005

I'm not using the icon editor as I have already created the icon. The icon
consists of 2 icons the same size: one in 256 colours and one in 32 bit.
When I add it to the resource, the editor only shows the 256 colour one.I
want the apps window to show the 32bit icon in XP.

"Igor Tandetnik" <itandetnik@mvps.org> wrote in message
news:eC11HpcpFHA.2916@TK2MSFTNGP14.phx.gbl...
> "Lindsay" <me@home.com> wrote in message
> news:43079815$0$1305$ed2619ec@ptn-nntp-reader02.plus.net
>> Ok. I have C++ .Net (v7.1 2003). I can't seem to add XP icons (32
>> bit) to the resource file. How is this done?
>
> The resource compiler does not care, it's just that the icon editor built
> into VS is fairly primitive. You will have to edit the icon in a more
> capable third party editor, then add an .ico file to your resources.
> --
> With best wishes,
> Igor Tandetnik
>
> With sufficient thrust, pigs fly just fine. However, this is not
> necessarily a good idea. It is hard to be sure where they are going to
> land, and it could be dangerous sitting under them as they fly
> overhead. -- RFC 1925
>



Re: XP icons by Igor

Igor
Sat Aug 20 16:36:20 CDT 2005

"Lindsay" <me@home.com> wrote in message
news:43079d28$0$1305$ed2619ec@ptn-nntp-reader02.plus.net
> I'm not using the icon editor as I have already created the icon. The
> icon consists of 2 icons the same size: one in 256 colours and one in
> 32 bit. When I add it to the resource, the editor only shows the 256
> colour one.I want the apps window to show the 32bit icon in XP.

It should. Don't pay attention to the editor, it can only display 256 or
fewer colors. The icon should work in actual application. Doesn't it?
--
With best wishes,
Igor Tandetnik

With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going to
land, and it could be dangerous sitting under them as they fly
overhead. -- RFC 1925



Re: XP icons by Lindsay

Lindsay
Sun Aug 21 02:47:55 CDT 2005

The icons are for the system tray. If I load them from the resource file,
the resulting icon in the tray is 256 colours and the transparent colour
shows up as black.

"Igor Tandetnik" <itandetnik@mvps.org> wrote in message
news:%230Ghz8cpFHA.764@TK2MSFTNGP14.phx.gbl...
> "Lindsay" <me@home.com> wrote in message
> news:43079d28$0$1305$ed2619ec@ptn-nntp-reader02.plus.net
>> I'm not using the icon editor as I have already created the icon. The
>> icon consists of 2 icons the same size: one in 256 colours and one in
>> 32 bit. When I add it to the resource, the editor only shows the 256
>> colour one.I want the apps window to show the 32bit icon in XP.
>
> It should. Don't pay attention to the editor, it can only display 256 or
> fewer colors. The icon should work in actual application. Doesn't it?
> --
> With best wishes,
> Igor Tandetnik
>
> With sufficient thrust, pigs fly just fine. However, this is not
> necessarily a good idea. It is hard to be sure where they are going to
> land, and it could be dangerous sitting under them as they fly
> overhead. -- RFC 1925
>



Re: XP icons by Lindsay

Lindsay
Sun Aug 21 06:10:47 CDT 2005

I was using LoadIcon. Swapped this for LoadImage and it works fine.

"Lindsay" <me@home.com> wrote in message
news:430831d7$0$17459$ed2e19e4@ptn-nntp-reader04.plus.net...
> The icons are for the system tray. If I load them from the resource file,
> the resulting icon in the tray is 256 colours and the transparent colour
> shows up as black.
>
> "Igor Tandetnik" <itandetnik@mvps.org> wrote in message
> news:%230Ghz8cpFHA.764@TK2MSFTNGP14.phx.gbl...
>> "Lindsay" <me@home.com> wrote in message
>> news:43079d28$0$1305$ed2619ec@ptn-nntp-reader02.plus.net
>>> I'm not using the icon editor as I have already created the icon. The
>>> icon consists of 2 icons the same size: one in 256 colours and one in
>>> 32 bit. When I add it to the resource, the editor only shows the 256
>>> colour one.I want the apps window to show the 32bit icon in XP.
>>
>> It should. Don't pay attention to the editor, it can only display 256 or
>> fewer colors. The icon should work in actual application. Doesn't it?
>> --
>> With best wishes,
>> Igor Tandetnik
>>
>> With sufficient thrust, pigs fly just fine. However, this is not
>> necessarily a good idea. It is hard to be sure where they are going to
>> land, and it could be dangerous sitting under them as they fly
>> overhead. -- RFC 1925
>>
>
>