Get gadget's state of visibility (hidden?, disabled?)

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
c4s
Addict
Addict
Posts: 1981
Joined: Thu Nov 01, 2007 5:37 pm
Location: Germany

Get gadget's state of visibility (hidden?, disabled?)

Post by c4s »

Getting the gadget state of visibility could be useful sometimes: Is it hidden or disabled by the program itself (using DisableGadget() or HideGadget())? Maybe even checks if it's really not visible by the user (window minimized, covered by something).
On Windows we can use IsWindowEnabled_() / IsWindowVisible_() but what about a cross-platform solution build into PureBasic?!
If any of you native English speakers have any suggestions for the above text, please let me know (via PM). Thanks!