Quick TODOTODOTODO... resolution.

This commit is contained in:
Pietro Gagliardi 2015-05-03 16:56:58 -04:00
parent c3cfb3fe09
commit fc1044aab9
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,7 @@ static LRESULT CALLBACK tabSubProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM l
case msgUpdateChild: case msgUpdateChild:
if (GetWindowRect(t->hwnd, &r) == 0) if (GetWindowRect(t->hwnd, &r) == 0)
logLastError("error getting Tab window rect for synthesized resize message in tabSubProc()"); logLastError("error getting Tab window rect for synthesized resize message in tabSubProc()");
// these are in screen coordinates, which match what WM_WINDOWPOSCHANGED gave us (thanks TODOTODOTODOTODOTODOTODOTODO) // these are in screen coordinates, which match what WM_WINDOWPOSCHANGED gave us (see http://stackoverflow.com/questions/29598334/are-the-coordinates-in-windowpos-on-wm-windowposchanged-in-parent-coordinates-or)
resizeTab(t, r.right - r.left, r.bottom - r.top); resizeTab(t, r.right - r.left, r.bottom - r.top);
return 0; return 0;
case WM_NCDESTROY: case WM_NCDESTROY: