Changeset 4800 for trunk/src/user32/static.cpp
- Timestamp:
- Dec 16, 2000, 4:42:12 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/static.cpp
r4512 r4800 1 /* $Id: static.cpp,v 1.2 0 2000-10-22 10:01:34sandervl Exp $ */1 /* $Id: static.cpp,v 1.21 2000-12-16 15:42:12 sandervl Exp $ */ 2 2 /* 3 3 * Static control … … 9 9 * Corel version: 20000317 10 10 * (WINE version: 990923) 11 * 12 * SvL: 13 * SS_REALSIZEIMAGE is supposed to prevent control resizing, but that doesn't 14 * appear to happen in NT (although the SDK docs are very clear about this) 15 * Need to figure out why. (not resizing messes up the bitmap control in 16 * the Microsoft Visual C++ 4.2 install program) 17 * Same thing happens with a very simply test app, so the installer 18 * does nothing special. 19 * 11 20 * 12 21 * Status: complete … … 103 112 } 104 113 114 #if 1 115 //SvL: Breaks MS Visual C++ install dialogs with static controls (no resize) 116 if (!(dwStyle & (SS_CENTERIMAGE))) STATIC_ResizeWindow(hwnd,dwStyle,bmp.bmWidth,bmp.bmHeight); 117 #else 105 118 if (!(dwStyle & (SS_CENTERIMAGE | SS_REALSIZEIMAGE))) STATIC_ResizeWindow(hwnd,dwStyle,bmp.bmWidth,bmp.bmHeight); 119 #endif 106 120 107 121 if (ii.hbmColor) DeleteObject(ii.hbmColor); … … 133 147 hOldBitmap = infoPtr->hIcon; 134 148 infoPtr->hIcon = hBitmap; 149 #if 1 150 //SvL: Breaks MS Visual C++ install dialogs with static controls (no resize) 151 if (hBitmap && !(dwStyle & (SS_CENTERIMAGE))) 152 #else 135 153 if (hBitmap && !(dwStyle & (SS_CENTERIMAGE | SS_REALSIZEIMAGE))) 154 #endif 136 155 { 137 156 BITMAP bm;
Note:
See TracChangeset
for help on using the changeset viewer.