Notifications
Clear all

[Closed] RegisterNotification c++

Looks like all you need is RegisterNotification and UnRegisterNotification

this is in my main class constructor…
RegisterNotification(ViewPortChanged, this, NOTIFY_VIEWPORT_CHANGE);

and this in my main class deconstructor
UnRegisterNotification(ViewPortChanged, this, NOTIFY_VIEWPORT_CHANGE);

Is there anything that will catch me up? or is all I need for cleanup.

Most work really well except…
NOTIFY_UNITS_CHANGE
NOTIFY_VIEWPORT_CHANGE

They crash 3dsmax on every second startup?

4 Replies
 lo1

I did not at all understand what you are trying to ask, could you clarify?

sorry in deconstructor and constructor

Is there anything that will catch me up? or is all I need for cleanup.

 lo1

In terms of the notification that’s all you need to do.

great thanks just checking