How to set overlapped widget focus?

huangyous

01-03-2010 02:58:55

Window1 is a overlapped widget,When I click a button on Window1,it will open a file dialog by calling setVisible(true) which is overllapped widget too.
but the file dialog is behind Window1,So how can I automately set the file dialog in front of Window1?

Altren

01-03-2010 08:21:04

MyGUI::LayerManager::getInstance().upLayerItem(window);