WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   how to bring win32ui dialog to front (https://forum.worldviz.com/showthread.php?t=3763)

aanuit 05-27-2011 01:24 AM

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!!

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.


All times are GMT -7. The time now is 06:14 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC