src/wfcomman.c
// Function to update the display when the size of the MDI client
// window changes (for example, when the status bar is turned on
// or off).

Function to update the display when the size of the MDI client
window changes (for example, when the status bar is turned on
or off).
Function to update the display when the size of the MDI client window changes ( for example when the status bar is turned on or off ) .
VOID
MDIClientSizeChange(HWND hwndActive,INT iFlags)
{
   RECT rc;
   GetClientRect(hwndFrame, &rc);
   SendMessage(hwndFrame, WM_SIZE, SIZENORMAL, MAKELONG(rc.right, rc.bottom));
   UpdateStatus(hwndActive);
   InvalidateRect(hwndMDIClient, NULL, FALSE);
   if (bDriveBar && (iFlags & DRIVEBAR_FLAG))
      InvalidateRect(hwndDriveBar, NULL, TRUE);
   if (bToolbar && (iFlags & TOOLBAR_FLAG))
      InvalidateRect(hwndToolbar, NULL, TRUE);
   UpdateWindow(hwndFrame);
}
VOID MDIClientSizeChange ( HWND hwndActive , INT iFlags ) { RECT rc ; GetClientRect ( hwndFrame , & rc ) ; SendMessage ( hwndFrame , WM_SIZE , SIZENORMAL , MAKELONG ( rc . right , rc . bottom ) ) ; UpdateStatus ( hwndActive ) ; InvalidateRect ( hwndMDIClient , NULL , FALSE ) ; if ( bDriveBar && ( iFlags & DRIVEBAR_FLAG ) ) InvalidateRect ( hwndDriveBar , NULL , TRUE ) ; if ( bToolbar && ( iFlags & TOOLBAR_FLAG ) ) InvalidateRect ( hwndToolbar , NULL , TRUE ) ; UpdateWindow ( hwndFrame ) ; }
Function to update the display when the size of the MDI client
window changes (for example, when the status bar is turned on
or off).
Function to update the display when the size of the MDI client window changes ( for example when the status bar is turned on or off ) .