Python Forum
given a window handle, draw a red box around the border, and remove it later - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: Homework (https://python-forum.io/forum-9.html)
+--- Thread: given a window handle, draw a red box around the border, and remove it later (/thread-31647.html)



given a window handle, draw a red box around the border, and remove it later - raymond0517 - Dec-25-2020

Hi ,
I am using python code to perform a function.
Specifically, the UiPath will call this python function,
and pass it a window handle,
this function will take the input argument of window handle, and try to draw a red border around the window handle, this handle can be a UI control element of any application, or from a UI control element of a tab in a web browser,

and at some point of time, this function is call again from UiPath to UNDO the red border previously drawn (maybe to repaint the control associated with the window handle so that to clear away the red border),

can this be done ? and what graphic library function I should be looking into using to achieve this purpose ?

Thanks.