2014-12-07 19:16:58 -06:00
|
|
|
// 7 december 2014
|
|
|
|
|
|
|
|
// TODO why doesn't this trigger on first show?
|
2015-01-06 02:11:10 -06:00
|
|
|
// TODO see if there's anything not metaphor related in the last bits of the scrollbar series
|
2014-12-07 19:48:32 -06:00
|
|
|
// TODO rename this to boot
|
2015-01-08 00:45:06 -06:00
|
|
|
// TODO merge with update.h?
|
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;
|
2015-01-08 01:05:06 -06:00
|
|
|
// TODO redraw everything?
|
2015-01-08 00:45:06 -06:00
|
|
|
update(t, TRUE);
|
2014-12-07 19:16:58 -06:00
|
|
|
*lResult = 0;
|
|
|
|
return TRUE;
|
|
|
|
}
|