ahmd0
ahmd0

Reputation: 17313

My tray icon looks bad during Remote Desktop Connection (Windows XP)

I'm writing a Windows app that has a tray icon (displayed next to the system clock). The icon itself looks nice if I run it on Windows XP in a normal (console) session, but when I connect to the same Windows XP machine using Remote Desktop Connection the tray icon looks bad—with jagged edges on the side. Note that the rest of the tray icons look fine, it's just mine that looks crappy. So what is the secret here?

Upvotes: 1

Views: 1026

Answers (2)

Sergey Podobry
Sergey Podobry

Reputation: 7199

I faced the same issue in the past. You have to load icon with LoadImage function (not with LoadIcon).

Upvotes: 2

Brian Willis
Brian Willis

Reputation: 23904

Screenshots would be helpful, but I'm guessing it's to do with the colour depth that you're using in the two sessions. If the quality in one is higher than in the other, the icon may render differently.

You can change the colour depth in the display tab of the Remote Desktop Connection settings.

Upvotes: 1

Related Questions