I was wondering if there is a way to check if layers are enabled or not.
I've looked through the docs but the only thing I've found is query GetAttribute to know how many layers are currently attached to the associated bgpic of a given display, but of course this solution is not safe, for example if the layers have been enabled just before my check.
Any hints?
Thank in advance