comctl32: header tests: Support different window border width.
This commit is contained in:
parent
6156154409
commit
beff84c1d3
|
@ -1052,7 +1052,9 @@ static void init(void) {
|
|||
RegisterClassA(&wc);
|
||||
|
||||
hHeaderParentWnd = CreateWindowExA(0, "HeaderTestClass", "Header test", WS_OVERLAPPEDWINDOW,
|
||||
CW_USEDEFAULT, CW_USEDEFAULT, 680, 260, NULL, NULL, GetModuleHandleA(NULL), 0);
|
||||
CW_USEDEFAULT, CW_USEDEFAULT, 672+2*GetSystemMetrics(SM_CXSIZEFRAME),
|
||||
226+GetSystemMetrics(SM_CYCAPTION)+2*GetSystemMetrics(SM_CYSIZEFRAME),
|
||||
NULL, NULL, GetModuleHandleA(NULL), 0);
|
||||
assert(hHeaderParentWnd != NULL);
|
||||
ShowWindow(hHeaderParentWnd, SW_SHOW);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue