Tweak window order

View: New views
1 Messages — Rating Filter:   Alert me  

Tweak window order

by Fournier Eric :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Can somebody tell me the correct runes for managing window order?

I have UIs that use a variety of player/costume arrangements, all  
using CWindows with the title frame, and all seem happily reorder  
themselves upon mouseDown.

I get into trouble when I close, open or "reopen" them (reopen being  
repeating a menu call that opens a single-instance UI or requests  
activation of an already open instance).

I've been able to track down the close, closeRequest, beTopWIndow  
methods, as well as sending around activate signals. What I seem to  
be missing is a reliable way to force a window to the front of the  
stack; it seems that sending #activate just gets me the correct  
appearance in the window frame (without actually bringing the window  
forward).

Trying to understand CWindowManager has given me a bad headache!

Eric Fournier
University of Minnesota
Office of Information Technology
emf@...


_______________________________________________
Tweak mailing list
Tweak@...
http://impara.de/mailman/listinfo/tweak