Running TraySaverB10 under Win2K SP1, TS seems to see only the first letter of window captions and tray icon tooltips. This greatly impedes its ability to hide or minimize anything via captions/tooltips.
This is apparently a UNICODE-to-ANSI (or lack thereof) problem, but I'm not sure why it's an issue since this does not occur in WinNT, which is also UNICODE-based.
TODO: Examine where TraySaver determines whether it is running under NT or 9x and see if running under 2000 tells it that it's running 9x...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I looked at the TraySaver source, and found the cause of
this problem - the if statement around the TranslateNid
function in IconManager::AddIcon function at line 68
doesn't work right under 2k for some reason. The IsNT
function still works fine, and makes the distinction
properly in other cases - why not use it here? As an
alternative, just check if the second byte in the tooltip
is zero and treat as Unicode if so. For myself, I jsut
commented out the line, since I only run 2k anyway, it'll
always be Unicode.
Walter Mundt
emage@spamcop.net
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
A note about my previous post: this does not seem to entirely alleviate the problem...certain programs still generate their tray icons so that the first letter is the only one visible.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This is apparently a UNICODE-to-ANSI (or lack thereof) problem, but I'm not sure why it's an issue since this does not occur in WinNT, which is also UNICODE-based.
TODO: Examine where TraySaver determines whether it is running under NT or 9x and see if running under 2000 tells it that it's running 9x...
Logged In: YES
user_id=206302
I looked at the TraySaver source, and found the cause of
this problem - the if statement around the TranslateNid
function in IconManager::AddIcon function at line 68
doesn't work right under 2k for some reason. The IsNT
function still works fine, and makes the distinction
properly in other cases - why not use it here? As an
alternative, just check if the second byte in the tooltip
is zero and treat as Unicode if so. For myself, I jsut
commented out the line, since I only run 2k anyway, it'll
always be Unicode.
Walter Mundt
emage@spamcop.net
Logged In: YES
user_id=206302
A note about my previous post: this does not seem to entirely alleviate the problem...certain programs still generate their tray icons so that the first letter is the only one visible.
Logged In: YES
user_id=711206
As could be expected, this occurs on XP also.