void AboutOpen( void ) /********************/ { if( aboutWindow == NULL ) { aboutWindow = WndCreate( LIT( WPROF_TITLE ), &AboutInfo, WND_NO_CLASS, NULL ); } if( aboutWindow != NULL ) { WndShowWindow( aboutWindow ); } }
static a_window *WndVarNewWindow( const char *item ) { a_window *wnd; WndSetOpenNoShow(); wnd = WndVarOpen(); WndSetTitle( wnd, item ); WndVarAdd( wnd, item, strlen( item ), true ); WndFirstCurrent( wnd ); WndForcePaint( wnd ); WndShrinkToMouse( wnd, WndMetrics[ WND_WATCH ] ); WndShowWindow( wnd ); return( wnd ); }
void WPSampleOpen( void ) /***********************/ { if( CurrSIOData->sample_window == NULL ) { CurrSIOData->sample_window = sampleCreateWin(); if( CurrSIOData->sample_window != NULL ) { sampleOpenMainImage(); WndSetThumb( CurrSIOData->sample_window ); } } if( CurrSIOData->sample_window != NULL ) { WndToFront( CurrSIOData->sample_window ); WndShowWindow( CurrSIOData->sample_window ); WPSetRowHeight( CurrSIOData->sample_window ); } }