That's possible,
the second at least under Windows, I had never the need to do it under 
Linux.

Şemseddin Moldibi [ Bircom ] wrote:
> Is it possible to prevent user to press escape key to stop the program =
> in console?
>   
system/console/break: false
> For example my program gives some debug output to console window, but =
> user is able to break the program by pressing ecs key.
>
> Another question, is it possible to change console window title in pro =
> version of command/view?
>   
win-lib: make object! [
    
    user-lib: load/library %user32.dll

    SetWindowText: make routine! [
        handle            [integer!]
        Title                [string!]
        return:            [integer!]
    ] user-lib "SetWindowTextA"
    
]
    
WindowTitle: func [
    Title [string!]
] [
    win-lib/SetWindowText get-modes system/ports/system 'window Title
    free win-lib/user-lib
    unset 'win-lib
    unset 'WindowTitle
]
> Sorry if those are stupid questions :)
>
>   

-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.

Reply via email to