Sign in to follow this  
Followers 0
Ego Eram Reputo

Custom load dialog using IndirectUI?

5 posts in this topic

I'm not sure how to create a custom load dialog using indirectUI.

 

Anyone got any pointers or code snippets?

0

Share this post


Link to post
Share on other sites

A load dialog? As in a dialog to select and open a file?

0

Share this post


Link to post
Share on other sites

I'm opening a 3D model. I'd like to be able to scale and rotate it before committing it to the canvas.

 

Something like the *.ico dialog which appears after you select a file.

 

demoopenui.png

0

Share this post


Link to post
Share on other sites
1 hour ago, Ego Eram Reputo said:

I'm opening a 3D model. I'd like to be able to scale and rotate it before committing it to the canvas.

 

Something like the *.ico dialog which appears after you select a file.

 

You would have to create a custom dialog in Windows Forms.

Note that according to this thread showing a load dialog in a FileType plugin is not officially supported.

On 7/17/2013 at 5:07 PM, Rick Brewster said:

Cancelling a load operation isn't supported because showing UI for loading a file isn't supported. What you're doing is by definition a hack, so asking why it doesn't work very well is kind of silly.

0

Share this post


Link to post
Share on other sites

^ Thank you.

 

Perhaps I'm better to make this a regular plugin and forgo the filetype. Shame, I had it loading files nicely. Making it a regular Effect would solve a number of issues for me though.

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0