Python-UIAutomation-for-Windows
Python-UIAutomation-for-Windows copied to clipboard
Control.IsOffscreen always returns 0 instead of Bool type
trafficstars
The Control.IsOffscreen property does not work as expected.
When I retrieve the IsOffscreen property of a control, it always returns 0 regardless of the control's state, whereas it is expected to return a Boolean value indicating whether the control is offscreen.
You can observe the phenomenon in this code block:
# function_group is a GroupControl object
print(function_group.IsOffscreen) # always output 0