Ignore:
Timestamp:
Apr 11, 2003, 5:22:34 PM (22 years ago)
Author:
sandervl
Message:

Tool windows don't have minimize or maximize buttons; always draw tool windows in win32 style as they are not compatible with PM frame controls

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/user32/win32wbase.cpp

    r9953 r10013  
    1 /* $Id: win32wbase.cpp,v 1.365 2003-03-29 16:38:00 sandervl Exp $ */
     1/* $Id: win32wbase.cpp,v 1.366 2003-04-11 15:22:33 sandervl Exp $ */
    22/*
    33 * Win32 Window Base Class for OS/2
     
    13901390  }
    13911391#endif
    1392   if(fOS2Look && ((dwStyle & WS_CAPTION) == WS_CAPTION))
     1392  //WS_EX_TOOLWINDOW is incompatible with the OS2Look (titlebar thinner + smaller font)
     1393  if(fOS2Look && ((dwStyle & WS_CAPTION) == WS_CAPTION) && !(dwExStyle & WS_EX_TOOLWINDOW))
    13931394  {
    13941395      RECT rect = {0};
Note: See TracChangeset for help on using the changeset viewer.