View Single Post
  #2  
Old 06-10-2010, 02:32 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
This is not possible in the current version of Vizard. Here is some sample code showing how to use the Windows MessageBox function to customize the title:
Code:
import viz
viz.go()

import win32gui
import win32con

# Equivalent to viz.message
win32gui.MessageBox(viz.window.getHandle(),'My Message','My Title',win32con.MB_OK)

# Equivalent to viz.ask
print win32gui.MessageBox(viz.window.getHandle(),'My Question','My Title',win32con.MB_YESNO) == win32con.IDYES
Reply With Quote