Handle doesn't need to be global, can be obtained the moment you want to hide/show. But anyways, when I use it with WLM 8.1.0178, the height of the "me area" is 176 (not 191 pixels). This gives a nicer result here and the word wheel isn't half crunshed together either with this...
Nice idea for this though, should be in WLM itself
PS: if((RECT.ReadDWORD(12) - RECT.ReadDWORD(4)) == newHeight) return true;
else return false;
=>
return (RECT.ReadDWORD(12) - RECT.ReadDWORD(4)) === newHeight;