code:
function OnWindowIdEvent_MessageNotification(pPlusWnd, nMessage, wParam, lParam) {
switch (nMessage){
case 0x5 /* WM_SIZE */:
if (wParam === 2 /* SIZE_MAXIMIZED */) {
Interop.Call('user32', 'ShowWindow', pPlusWnd.GetControlHandle('BaseBtnMinimise'), 5 /* SW_SHOW */);
Interop.Call('user32', 'ShowWindow', pPlusWnd.GetControlHandle('BaseBtnMaximise'), 5 /* SW_SHOW */);
Interop.Call('user32', 'ShowWindow', pPlusWnd.GetControlHandle('BaseBtnCancel'), 5 /* SW_SHOW */);
}
break;
}
}
Simple as that as far as a work around.