Notifications
Clear all

[Closed] [SDK] addSubRollout and removeSubRollout MaxScript methods

Does anyone have an idea about c++ code behind these two methods?
I am sure that the SubRollout control is an IRollupWindow object.
So add and remove sub rollouts made with AppendRollup and DeleteRollup. It also does some initialization for the SubRollout control’s internal data, but so far this part is not very important to me. I can’t guess what they pass as DLGTEMPLATE * and DLGPROC. I’m sure this is something very simple, but unfortunately there is nothing about it in the SDK.

Any ideas are welcome. Thanks

3 Replies

spring controller has a modeless dialog box that uses AppendRollup

let’s look at addsubrollout… it certainly uses AppendRolloup.
if I have mxs rollout I can define a DLGTEMPLATE, but how can I get DLGPROC? I need to create the dialog first, but unfortunately I can’t do it virtually.

oh … now I see. All rollup pages of the scripted subrollout use the same protocol (something as “Default RollupProc”). It is defined internally but not published.
eh … let’s think a little more