preload

Desktop Window operations (WinRunner, TSL)

Posted by Albert Gareev on Oct 15, 2007
0
Declarations # extern int IsIconic(in int); # extern int IsZoomed(in int); # Restore window public function wg_win_restore(in wname) {  auto hwnd;    win_get_info(wname, "handle", hwnd);     if (IsIconic(hwnd) == 1)   win_restore(wname);  if (IsZoomed(hwnd) == 1)   win_restore(wname); } Minimize window public function wg_win_min(in wname) {  auto hwnd;    win_get_info(wname, "handle", hwnd);     if ...
Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported
This work by Albert Gareev is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported.