http://bugs.winehq.org/show_bug.cgi?id=26747
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Component|user32 |-unknown Resolution| |INVALID
--- Comment #1 from Dmitry Timoshkov dmitry@codeweavers.com 2011-04-13 07:20:11 CDT --- The following test application
#include <windows.h> #include <stdio.h>
int main(void) { RECT rc;
rc.left = 0; rc.top = 0; rc.right = 100; rc.bottom = 100; AdjustWindowRect(&rc, WS_CAPTION | WS_THICKFRAME, FALSE); printf("0,0-100,100 => %ld,%ld-%ld,%ld\n", rc.left, rc.top, rc.right, rc.bottom); printf("SM_CXFRAME %d, SM_CYFRAME %d\n", GetSystemMetrics(SM_CXFRAME), GetSystemMetrics(SM_CYFRAME));
return 0; }
prints under XP:
0,0-100,100 => -4,-36-104,104 SM_CXFRAME 4, SM_CYFRAME 4
under Wine:
0,0-100,100 => -4,-23-104,104 SM_CXFRAME 4, SM_CYFRAME 4
which is perfectly valid, caption size is different but it's expected.