系统信息
This commit is contained in:
@@ -52,17 +52,18 @@ static void ArrangeWinds(HWND hwnd) {
|
||||
int i;
|
||||
int j = 0;
|
||||
for (i=0; i<9; i++) {
|
||||
MoveWindow(ChildWindows[i], 10 + (j* 100), 10, 100, 100, TRUE);
|
||||
MoveWindow(ChildWindows[i], 10 + (j * 100), 10, 100, 100, TRUE);
|
||||
if (i==4) {
|
||||
j=0;
|
||||
}else {
|
||||
j++;
|
||||
}
|
||||
GetWindowRect(hwnd, &R);
|
||||
MoveWindow(ChildWindows[i], R.left + 10 + GetSystemMetrics(SM_CXFRAME) + (j*100),
|
||||
R.top + GetSystemMetrics(SM_CYCAPTION) + GetSystemMetrics(SM_CYFRAME) + GetSystemMetrics(SM_CYMENU) + 10,
|
||||
100, 100, TRUE);
|
||||
}
|
||||
GetWindowRect(hwnd, &R);
|
||||
MoveWindow(ChildWindows[i],
|
||||
R.left + 10 + GetSystemMetrics(SM_CXFRAME) + (j*100),
|
||||
R.top + GetSystemMetrics(SM_CYCAPTION) + GetSystemMetrics(SM_CYFRAME) + GetSystemMetrics(SM_CYMENU) + 10,
|
||||
100, 100, TRUE);
|
||||
}
|
||||
|
||||
static void HandleBrush(HWND hwnd, int id) {
|
||||
|
||||
Reference in New Issue
Block a user