View Full Version : attach a dialog to the Timeslider possible?
erazerhead 05-17-2008, 06:48 PM Hi!
I was just wondering if anyone knew if it was possible to attach a dialog/window to the Timeslider so it follows it when I scurb it?
thank you!
|
|
ZeBoxx2
05-17-2008, 11:04 PM
I don't think there's a direct way to get the position of the time slider in max / screen coordinates. However, if you're scrubbing with your mouse only, then you could get mouse.screenpos and update the position of a dialog whenever the time changes.
fn moveTest = (
setDialogPos test (mouse.screenPos + [0,-64])
)
rollout test "test" (
label time ""
on test moved pos do (
time.caption = currentTime as string
)
)
createDialog test style:#(#style_toolwindow,#style_sysmenu)
registerTimeCallback moveTest
erazerhead
05-18-2008, 12:05 AM
yes!!
awesome, thats an engenious solution man, precisely what i was looking for!
thank you my friend!!!
CGTalk Moderation
05-18-2008, 12:05 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
vBulletin v3.0.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.