The community will undergo maintenance on October 16th at 10:00 PM PDT and will be unavailable for up to one hour.
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.