Log in

View Full Version : how to bring win32ui dialog to front


aanuit
05-27-2011, 01:24 AM
When I create a win32ui dialog, it appears behind the Vizard window. How do I get it in front of all the other windows??

I use this code:

import viz

def load():
import win32ui
outFileDlg = win32ui.CreateFileDialog(0)
outFileDlg.DoModal()
outFileName = outFileDlg.GetPathName()

vizact.onkeydown("l",load)
viz.go()

Thanks!!

Jeff
05-27-2011, 12:54 PM
The code posted in the following thread displays a win32ui dialog over the Vizard window:

http://forum.worldviz.com/showthread.php?t=1602

If you end up moving to Vizard 4 the vizinput module provides this type of functionality.