bool GUIMDIMaximized( gui_window *wnd ) { if( IsMaximized != NULL ) { return( (*IsMaximized)( wnd ) ); } return( _wpi_iszoomed( GUIGetParentFrameHWND( wnd ) ) ); }
static void MaxChild( gui_window *wnd, void *param ) { param = param; if( _wpi_iszoomed( wnd->hwnd_frame ) ) { GUISetRedraw( wnd, false ); GUIRestoreWindow( wnd ); GUIMaximizeWindow( wnd ); GUISetRedraw( wnd, true ); GUIShowWindowNA( wnd ); } }
bool GUIIsMaximized( gui_window *wnd ) { bool maximized; if( GUIMDI ) { maximized = GUIMDIMaximized( wnd ); } else { maximized = _wpi_iszoomed( GUIGetParentFrameHWND( wnd ) ); } return( maximized ); }