Домой | Классы | Статические функции | Перечисления (ENUM) | Структуры (STRUCTURE) |

# {Alien_windows|_applications}

CLASS {Alien_windows|_applications} , UNTESTED, NATIVE :

A set of functions to work with windows of other applications. Platform dependent (mainly for Windows OS). Not implemented for all the destination languages (Java).

IMPORT : {NATIVE_Alien_windows} .

--------------------------------------------------------- 'foreground info'

FUNCTION Caption_foreground|_window ==> STR , NATIVE
FUNCTION Window_foreground|_handle ==> INT , NATIVE

-------------------------------------------------------------------- 'find'

FUNCTION Find_window ( STR Caption|_start , STR Class|_window ) ==> INT , NATIVE
FUNCTION List_windows|_on_desktop ( INT Array|_handles [] , {bool} Visible|_only ) , NATIVE

---------------------------------------------------------- 'info by handle'

FUNCTION Is_window ( INT Handle|_test ) ==> {bool} , NATIVE
FUNCTION Is_visible|_window ( INT Handle|_test ) ==> {bool} , NATIVE
FUNCTION Is_maximized|_window ( INT Handle|_test ) ==> {bool} , NATIVE
FUNCTION Is_minimized|_window ( INT Handle|_test ) ==> {bool} , NATIVE
FUNCTION Window_caption ( INT Handle|_window ) ==> STR , NATIVE
FUNCTION Window_class ( INT Handle|_window ) ==> STR , NATIVE
FUNCTION Window_loc|ation ( INT Handle|_window , INT Coord|inates_X_Y_W_H [] ) , NATIVE

--------------------------------------------------------- 'control windows'

FUNCTION Show_window ( INT Handle|_window , {bool} Show|_false_to_hide , {bool} Activate|_when_show ) , NATIVE
FUNCTION Bring_to_front ( INT Handle|_window ) , NATIVE
FUNCTION Set_window_loc|ation ( INT Handle|_window , INT X|_position_pixels , INT Y|_position_pixels , {bool} XY|_change , INT W|idth_size_pixels_0if_not_change , INT H|eight_size_pixels_0if_not_change ) , NATIVE
FUNCTION Minimize_window ( INT Handle|_window ) , NATIVE
FUNCTION Restore_window|_from_minimized ( INT Handle|_window ) , NATIVE
FUNCTION Close_window ( INT Handle|_window ) , NATIVE
FUNCTION Close_application|_by_window ( INT Handle|_window , {bool} Wait|_for_exit ) , NATIVE

----------------------------------------------------------- 'child windows'

FUNCTION List_child|ren_windows ( INT Handle|_window_parent , INT Child|ren_windows_handles [] ) , NATIVE

# END