Ejemplo n.º 1
0
void WDestroyStatusLine( WStatBar *wsb )
{
    if( wsb != NULL ) {
        StatusWndDestroy( wsb->stat );
        WMemFree( wsb );
    }
}
Ejemplo n.º 2
0
/*
 * 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 */
Ejemplo n.º 3
0
void WdeDestroyStatusLine( void )
{
    if( WdeStatusWindow != NULL ) {
        DestroyWindow( WdeStatusWindow );
        StatusWndDestroy( WdeStatusBar );
        StatusWndFini();
    }

    if( WdeStatusFont != NULL ) {
        DeleteObject( WdeStatusFont );
    }
}
Ejemplo n.º 4
0
/*
 * 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 */
Ejemplo n.º 5
0
static void FreeStatus( void )
{
    StatusWndDestroy( GUIStatusWnd );
    StatusWndFini();
}