Menu

#2 TS sees only first letter of captions/tooltips

open
nobody
Win2K (2)
7
2000-09-20
2000-09-11
Jay Levitt
No

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.

Discussion

  • Nobody/Anonymous

    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...

     
  • Jay Levitt

    Jay Levitt - 2000-09-20
    • priority: 8 --> 7
     
  • Walter Mundt

    Walter Mundt - 2001-05-13

    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

     
  • Walter Mundt

    Walter Mundt - 2001-05-14

    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.

     
  • Nathan Blume

    Nathan Blume - 2003-02-13

    Logged In: YES
    user_id=711206

    As could be expected, this occurs on XP also.

     

Log in to post a comment.

MongoDB Logo MongoDB