void WDestroyStatusLine( WStatBar *wsb ) { if( wsb != NULL ) { StatusWndDestroy( wsb->stat ); WMemFree( wsb ); } }
/* * HintWndDestroy - destroy a hint status bar */ void HintWndDestroy( statwnd *wnd ) { HLOCAL hinfo; HWND hint; hint = GetHintHwnd( wnd ); hinfo = GetProp( hint, HINT_PROP_ID ); LocalFree( hinfo ); StatusWndDestroy( wnd ); } /* HintWndDestroy */
void WdeDestroyStatusLine( void ) { if( WdeStatusWindow != NULL ) { DestroyWindow( WdeStatusWindow ); StatusWndDestroy( WdeStatusBar ); StatusWndFini(); } if( WdeStatusFont != NULL ) { DeleteObject( WdeStatusFont ); } }
/* * FiniStatusLine - close up the status line */ void FiniStatusLine( void ) { DestroyWindow( statusBarWnd ); StatusWndDestroy( statusBar ); StatusWndFini(); if( PosText != NULL ) { IEFreeRCString( PosText ); } if( SizeText != NULL ) { IEFreeRCString( SizeText ); } if( SetPosText != NULL ) { IEFreeRCString( SetPosText ); } if( SetHotSpotText != NULL ) { IEFreeRCString( SetHotSpotText ); } if( SetBitmapText != NULL ) { IEFreeRCString( SetBitmapText ); } if( SetCursorText != NULL ) { IEFreeRCString( SetCursorText ); } if( SetIconText != NULL ) { IEFreeRCString( SetIconText ); } if( PositionText != NULL ) { MemFree( PositionText ); } if( HotSpotText != NULL ) { MemFree( HotSpotText ); } if( SetSizeText != NULL ) { MemFree( SetSizeText ); } if( PositionSizeText != NULL ) { MemFree( PositionSizeText ); } if( ImageText != NULL ) { MemFree( ImageText ); } } /* FiniStatusLine */
static void FreeStatus( void ) { StatusWndDestroy( GUIStatusWnd ); StatusWndFini(); }