WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   addWindow DrawOrder (https://forum.worldviz.com/showthread.php?t=4666)

fabioped 07-09-2013 08:57 AM

addWindow DrawOrder
 
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:
Code:

import win32con
import win32gui

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



All times are GMT -7. The time now is 05:41 PM.

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