3D Max SDK AddRollupPage in C#

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

 
Thread Tools Display Modes
  05 May 2018
3D Max SDK AddRollupPage in C#

Hi!

I've been struggling some time trying to make a simple Utility Plugin in C#. The plugin works fine and shows a Windows Form correctly (as example), but I cannot make a proper use of the "AddRollupPage" method that inserts some UI in the command panel of 3D Max. Every documentation I can find is in C++, making use of the classic Dialog Editor and resources of C++. Wich, as far as I know, can't be used in C#. All I can find shows something like this in C++:

void UtilitySample::BeginEditParams(Interface* ip,IUtil* iu)
{
this->iu = iu;

hPanel = ip->AddRollupPage(
 hInstance,
 MAKEINTRESOURCE(IDD_PANEL),
 DlgProc
 GetString(IDS_PARAMS),
 0);

ip->PushPrompt(_M("Hello World from Lesson 1. Called from BeginEditParams()"));
}

Where:
-"MAKEINTRESOURCE(IDD_PANEL)" is the dialog template. Made with the C++ Dialog Editor and referenced with a macro also not available in C#

Is it even possible to create somthing like a "rollup" or any kind of dialog in C# for de Max SDK that can be inserted in the Max's command panel?

Thanks in advance!
 
reply share thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 07:43 PM.


Powered by vBulletin
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.