예제 #1
0
bool DebugScreen( void )
{
    int handle;
    
    if( my_key == 0) {
        handle = RdosGetModuleHandle();
        my_key = RdosGetModuleFocusKey( handle );
    }
    
    if( my_key )
        RdosSetFocus( my_key );
        
    return( FALSE );
}
예제 #2
0
bool UserScreen( void )
{
    int handle;
    image_entry *img;
        
    if( debug_key == 0 ) {
        img = ImagePrimary();
        if( img ) {
            handle = img->system_handle;
            debug_key = RdosGetModuleFocusKey( handle );
        }        
    }

    if( debug_key )
        RdosSetFocus( debug_key );

    return( FALSE );
}
예제 #3
0
void SetDebugScreen()
{
    if( SelfKey )
        RdosSetFocus( SelfKey );
}
예제 #4
0
void SetUserScreen()
{
    if( DebugKey )
        RdosSetFocus( DebugKey );
}