Changeset 2114 for trunk/src/user32/win32wmdiclient.cpp
- Timestamp:
- Dec 18, 1999, 5:31:52 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/win32wmdiclient.cpp
r2099 r2114 1 /* $Id: win32wmdiclient.cpp,v 1.1 5 1999-12-17 17:18:04cbratschi Exp $ */1 /* $Id: win32wmdiclient.cpp,v 1.16 1999-12-18 16:31:51 cbratschi Exp $ */ 2 2 /* 3 3 * Win32 MDI Client Window Class for OS/2 … … 437 437 if( child == getActiveChild() ) 438 438 { 439 ShowWindow(SW_HIDE);439 ::ShowWindow(child->getWindowHandle(),SW_HIDE); 440 440 if( child == getMaximizedChild() ) 441 441 { … … 455 455 if (flagDestroy) 456 456 { 457 // MDI_PostUpdate(GetParent(child), ci,SB_BOTH+1);457 postUpdate(SB_BOTH+1); 458 458 ::DestroyWindow(child->getWindowHandle()); 459 459 } … … 687 687 688 688 /********************************************************************** 689 * 689 * MDI_CalcDefaultChildPos 690 690 * 691 691 * It seems that the default height is about 2/3 of the client rect … … 696 696 RECT rect = *this->getClientRect(); 697 697 INT spacing = GetSystemMetrics(SM_CYCAPTION) + 698 698 GetSystemMetrics(SM_CYFRAME) - 1; 699 699 700 700 if( rect.bottom - rect.top - delta >= spacing ) 701 701 rect.bottom -= delta; 702 702 703 703 nstagger = (rect.bottom - rect.top)/(3 * spacing); … … 1108 1108 } 1109 1109 1110 /***************************************************************************** 1111 * Name : WORD WIN32API CascadeWindows 1112 * Purpose : The CascadeWindows function cascades the specified windows or 1113 * the child windows of the specified parent window. 1114 * Parameters: HWND hwndParent handle of parent window 1115 * UINT wHow types of windows not to arrange 1116 * CONST RECT * lpRect rectangle to arrange windows in 1117 * UINT cKids number of windows to arrange 1118 * const HWND FAR * lpKids array of window handles 1119 * Variables : 1120 * Result : If the function succeeds, the return value is the number of windows arranged. 1121 * If the function fails, the return value is zero. 1122 * Remark : 1123 * Status : UNTESTED STUB 1124 * 1125 * Author : Patrick Haller [Thu, 1998/02/26 11:55] 1126 *****************************************************************************/ 1127 WORD WIN32API CascadeWindows(HWND hwndParent, 1128 UINT wHow, 1129 CONST LPRECT lpRect, 1130 UINT cKids, 1131 const HWND *lpKids) 1132 { 1133 dprintf(("USER32:CascadeWindows(%08xh,%u,%08xh,%u,%08x) not implemented.\n", 1134 hwndParent, 1135 wHow, 1136 lpRect, 1137 cKids, 1138 lpKids)); 1139 1140 return (0); 1141 } 1142 1143 /***************************************************************************** 1144 * Name : BOOL WIN32API CascadeChildWindows 1145 * Purpose : Unknown 1146 * Parameters: Unknown 1147 * Variables : 1148 * Result : 1149 * Remark : 1150 * Status : UNTESTED UNKNOWN STUB 1151 * 1152 * Author : Patrick Haller [Wed, 1998/06/16 11:55] 1153 *****************************************************************************/ 1154 BOOL WIN32API CascadeChildWindows(DWORD x1, 1155 DWORD x2) 1156 { 1157 dprintf(("USER32: CascadeChildWindows(%08xh,%08xh) not implemented.\n", 1158 x1, 1159 x2)); 1160 1161 return (FALSE); /* default */ 1162 } 1163 1164 /***************************************************************************** 1165 * Name : WORD WIN32API TileWindows 1166 * Purpose : The TileWindows function tiles the specified windows, or the child 1167 * windows of the specified parent window. 1168 * Parameters: HWND hwndParent handle of parent window 1169 * WORD wFlags types of windows not to arrange 1170 * LPCRECT lpRect rectangle to arrange windows in 1171 * WORD cChildrenb number of windows to arrange 1172 * const HWND *ahwndChildren array of window handles 1173 * Variables : 1174 * Result : If the function succeeds, the return value is the number of 1175 * windows arranged. 1176 * If the function fails, the return value is zero. 1177 * Remark : 1178 * Status : UNTESTED STUB 1179 * 1180 * Author : Patrick Haller [Thu, 1998/02/26 11:55] 1181 *****************************************************************************/ 1182 WORD WIN32API TileWindows(HWND hwndParent, 1183 UINT wFlags, 1184 const LPRECT lpRect, 1185 UINT cChildrenb, 1186 const HWND *ahwndChildren) 1187 { 1188 dprintf(("USER32:TileWindows (%08xh,%08xh,%08xh,%08xh,%08x) not implemented.\n", 1189 hwndParent, 1190 wFlags, 1191 lpRect, 1192 cChildrenb, 1193 ahwndChildren)); 1194 1195 return (0); 1196 } 1197 1198 /***************************************************************************** 1199 * Name : BOOL WIN32API TileChildWindows 1200 * Purpose : Unknown 1201 * Parameters: Unknown 1202 * Variables : 1203 * Result : 1204 * Remark : 1205 * Status : UNTESTED UNKNOWN STUB 1206 * 1207 * Author : Patrick Haller [Wed, 1998/06/16 11:55] 1208 *****************************************************************************/ 1209 BOOL WIN32API TileChildWindows(DWORD x1, 1210 DWORD x2) 1211 { 1212 dprintf(("USER32: TileChildWindows(%08xh,%08xh) not implemented.\n", 1213 x1, 1214 x2)); 1215 1216 return (FALSE); /* default */ 1217 } 1218 1110 1219 /* -------- Miscellaneous service functions ---------- 1111 1220 *
Note:
See TracChangeset
for help on using the changeset viewer.