系统信息

This commit is contained in:
2026-07-31 19:26:40 +08:00
parent 0bcc77f741
commit f4261c0f8b
2 changed files with 171 additions and 5 deletions
+6 -5
View File
@@ -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) {