How to open a dialog at runtime from a plugin?

How to open a dialog at runtime from a plugin?

Anonymous
Not applicable
630 Views
1 Reply
Message 1 of 2

How to open a dialog at runtime from a plugin?

Anonymous
Not applicable

I am developing a render plugin for the 3ds max. I create a dialog called PopupDialog and want to open it at run time, but I do not know how to do it. Is there anyone experienced this problem? Please, help me.

0 Likes
Accepted solutions (1)
631 Views
1 Reply
Reply (1)
Message 2 of 2

michaelsonbritt
Advocate
Advocate
Accepted solution

You could use the function CreateDialogParam().  Search through maxsdk\samples directory for examples of usage.

 

Also, if you have a ParamBlock2 and want to display it as a standalone dialog, have a look at CreateModalParamMap2() and CreateModelessParamMap2().

 

Cheers,

Michaelson Britt