cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

GetActiveWindow()

Highlighted
Newbie

GetActiveWindow()

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?

Tags (1)
2 REPLIES 2

Re: GetActiveWindow()

answer.jpg

Re: GetActiveWindow()

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.