We have an application where we use the PopUpManager to add a number of TitleWindows.
I want to know when a window is activated i.e. it is clicked on and the window is brought to the front and vice versa when it ceases to be the topmost window. I thought the track focusin/focusout would be the solution but this doesnt appear to always work as expected. It seem clicking on a window doesnt give it focus it just brings it to the top, only clicking into a control in that window actually causes focus to be set. FocusIn/FocusOut seems to work only when I click on a TitleWindow once I have previously clicked in to a control in that window and also the same for window that is being moved backwards. So .... what event can I listen to know when a window is clicked on or is brought to the front by the PopUpManager.bringToFront? Hope thats clear.. tks

