*/staticvoid_RestoreMinimized(FRAMEWIN_Handle hObj, FRAMEWIN_Obj* pObj) {/* When window was minimized, restore it */if(pObj->Flags & FRAMEWIN_SF_MINIMIZED) {intOldHeight =1+ pObj->Widget.Win.Rect.y1 - pObj->Widget.Win.Rect.y0;intNewHeight =1+ pObj->rRestore.y1 - pObj->rRe...
pObj->rRestore = pObj->Widget.Win.Rect;WM_HideWindow(pObj->hClient);WM_HideWindow(pObj->hMenu); WM_ResizeWindow(hObj,0, NewHeight - OldHeight); FRAMEWIN__UpdatePositions(pObj); pObj->Flags |= FRAMEWIN_SF_MINIMIZED; _InvalidateButton(pObj, GUI_ID_MINIMIZE); } } 開發者ID:Araku...
pObj->rRestore = pObj->Widget.Win.Rect;WM_HideWindow(pObj->hClient);WM_HideWindow(pObj->hMenu); WM_ResizeWindow(hObj,0, NewHeight - OldHeight); FRAMEWIN__UpdatePositions(pObj); pObj->Flags |= FRAMEWIN_SF_MINIMIZED; _InvalidateButton(pObj, GUI_ID_MINIMIZE); } } 开发者ID:Araku...