2014-12-07 19:16:58 -06:00
|
|
|
// 7 december 2014
|
|
|
|
|
|
|
|
// TODO why doesn't this trigger on first show?
|
2014-12-07 19:48:09 -06:00
|
|
|
// TODO last few bits of the scrollbar series, that talk about WM_WINDOWPOSCHANGING and the metaphor
|
2014-12-07 19:48:32 -06:00
|
|
|
// TODO rename this to boot
|
2014-12-07 19:16:58 -06:00
|
|
|
|
|
|
|
HANDLER(resizeHandler)
|
|
|
|
{
|
|
|
|
WINDOWPOS *wp;
|
|
|
|
|
|
|
|
if (uMsg != WM_WINDOWPOSCHANGED)
|
|
|
|
return FALSE;
|
|
|
|
wp = (WINDOWPOS *) lParam;
|
|
|
|
if ((wp->flags & SWP_NOSIZE) != 0)
|
|
|
|
return FALSE;
|
|
|
|
repositionHeader(t);
|
2014-12-10 09:01:16 -06:00
|
|
|
updateTableWidth(t);
|
2014-12-07 19:16:58 -06:00
|
|
|
*lResult = 0;
|
|
|
|
return TRUE;
|
|
|
|
}
|