Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X
Am I missing something: I can't seem to be able to query which window is active? I seem to be able to get the current model and the current window but this doesn't tell me which one is active. How does one do this?
How does one get the active window programmatically? There isn't a ProWindowActiveGet() and the window returned by ProWindowCurrentGet isn't necessarily the active one. Adding a listener for ProWindowChangePost doesn't help because although ProWindowCurrentGet called in the handler does appear to get the active window it also deletes/disables/resets the undo stack which is simply not acceptable.