void DUIShow( void ) { WndDebug(); WndShowAll(); WndShowWndMain(); WndMainEventProc( WndGui( WndMain ), GUI_NO_EVENT, NULL ); if( _IsOff( SW_HAVE_TASK ) && _IsOff( SW_PROC_ALREADY_STARTED ) ) { DlgNewProg(); } }
void GUImain( void ) /******************/ { WPInit(); WndCreateStatusWindow( &WndColours[ WPA_STATUS_LINE ] ); WndStatusText( "" ); #if defined( __OS2_PM__ ) WndSetIcon( WndMain, &MainIcon ); #endif WPInitHelp(); AboutOpen(); WndShowAll(); WndShowWndMain(); if( !WPSampFound() ) { DlgOpenSample(); } else { OpenSample(); } }