PDA

View Full Version : addWindow DrawOrder


fabioped
07-09-2013, 08:57 AM
Hi,

I'm having trouble creating a GUI with vizard 4.

I want to create scrollable content, images and so, withing a fixed size container within ORTHO layer. I ended up using vizard support for sub-window (viz.addWindow) but I can't pick a custom drawOrder inside the main window. How can I draw a window on top of another?

I got myself into this problem trying to get a custom cursor working (image following mouse pos). I guess there's still no support for custom cursor?

Thanks!

farshizzo
07-10-2013, 09:52 AM
Can you provide a sample script that demonstrates the issue?

Also, here is some sample code that shows how to set the cursor using a Windows icon handle:import win32con
import win32gui

waitCursor = win32gui.LoadCursor(0,win32con.IDC_WAIT)
viz.mouse.setCursor(waitCursor)