Dialogs on a 3D cube...

I'm trying to make 3D animated cube with dialogs on it. I must make different dialogs on different sides of cube. Dialogs must support interactivity with users, such as enabling text inputs in a TextBoxes, clicking on Buttons, etc. Have you got any suggestions about solving this problem I'm using Vista CTP Sep 05.  



Answer this question

Dialogs on a 3D cube...

  • Danny Crowell

    You can use a visualbrush to paint the sides of the cube with the different dialogs, though you won't get any interactivity from that, only a real-time updated image.

    We don't currently supply an interactive alternative to visualbrush.  Sad

    David


  • beckerben

    It is possible to create your own brush that would implement this What I mean to say is, will this senario ever be possible (it would be incredibly cool ;) )

  • KrisLa_MS

    To clarify, this has been asked on the newsgroups and answered;

    http://www.microsoft.com/communities/newsgroups/en-us/default.aspx dg=microsoft.public.windows.developer.winfx.avalon&tid=ca97025f-d0f7-480f-9ba0-c9eb6307f963&cat=en_US_2d78eed5-8929-4737-a85c-1d13bed3ee0d&lang=en&cr=US&sloc=en-us&p=1

    Basically, it's probably not going to be a feature for version 1. Perhaps you should submit a suggestion

    The basic idea behind getting this to work (by yourself), it to catch al possible events on the  object that is being pained by the VisualBrush, determining which control on the VisualBrush it corresponds to, and routing the event that way. For example, if they click, it determines if a button was clicked on or a textbox was clicked on and sends the data that way. Now, I don't know how the control's focus works in this case, but theoretically if you are painting a Textbox control to a side and it has focus, the 3D side should update with a flashing cursor. When text is entered, that textbox should still have the focus and text should be entered and dynamically updated in the VisualBrush.

    Of course, I've never done this before ;)

  • Dialogs on a 3D cube...