Notifications
Clear all

[Closed] Max SDK and Material Editor

I’ve made my own procedural texture map. Now I want to detect when its displayed in material editor and when it loses focus (undisplayed) in material editor.

How do I do this?

2 Replies

I don’t remember exactly, but you can try handling ParamDlg::ActivateDlg() which might tell you when you get/lose focus.

At the moment I’m using the automatic IAutoMParamDlg thingy to create my dialogs and I don’t really have a clue what I should do in order to make my own implmementation of the class in order to handdle ParamDlg::ActivateDlg().