Kibor Bot Autoclicker » Kibor - Integrated development environment for bots » About Kibor » Version 4.03 Forced deactivation of windows

Страниц (1): [1]
 

1. Kibor - 24 Июля, 2018 - 03:38:28 - перейти к сообщению
Sometimes it is necessary to deactivate the window of the game or browser in which the bot works for its correct operation.
You can place some other window on top of this window by giving it focus, but it's not convenient ..
enabledeactive turns on the tracking of the desired window and as soon as it becomes active it deactivates it. operates until you call disabledeactive . In this case, the mouse clicks into this window, after which the window again becomes inactive.

syntax
 Цитата:
enabledeactive (w);

takes a pointer not a window.
returns 1 for luck
0 with no luck.

 Цитата:
disabledeactive (w);
disabledeactive ();

takes a pointer to a window, which should be disabled, or does not accept parameters. then all tracking will be disabled.
returns 1 for luck
0 with no luck.

the pointer to the main window ..

Powered by ExBB FM 1.0 Final