Jump to content

Custom load dialog using IndirectUI?


Recommended Posts

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

 

Anyone got any pointers or code snippets?

Link to comment
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

Link to comment
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.

PdnSig.png

Plugin Pack | PSFilterPdn | Content Aware Fill | G'MICPaint Shop Pro Filetype | RAW Filetype | WebP Filetype

The small increase in performance you get coding in C++ over C# is hardly enough to offset the headache of coding in the C++ language. ~BoltBait

 

Link to comment
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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...