Ignore:
Timestamp:
Aug 12, 2002, 12:05:32 PM (23 years ago)
Author:
sandervl
Message:

PF: ignore TTS_ALWAYSTIP style. Windows 2000 appears to do the same.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/comctl32/tooltips.cpp

    r8382 r8985  
    21982198    DWORD dwExStyle = GetWindowLongA(hwnd,GWL_EXSTYLE);
    21992199
     2200#ifdef __WIN32OS2__
     2201    //@@PF Win2K ignores TTS_ALWAYSTIP completely but I am still investigating
     2202    //this, for now it is 100% to say all MFC apps set this attribute yet Win2k ignores it
     2203    //completely be it toolbar or some other control.   
     2204    dwStyle &= ~TTS_ALWAYSTIP;
     2205#endif
    22002206    dwStyle &= 0x0000FFFF;
     2207
     2208
    22012209    dwStyle |= (WS_POPUP | WS_BORDER | WS_CLIPSIBLINGS);
    22022210    SetWindowLongA(hwnd,GWL_STYLE,dwStyle);
Note: See TracChangeset for help on using the changeset viewer.