View Single Post
  #1  
Old 05-27-2011, 01:24 AM
aanuit aanuit is offline
Member
 
Join Date: Oct 2010
Posts: 2
Question how to bring win32ui dialog to front

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!!
Reply With Quote