I’m sure I’d seen this somewhere but now I can’t find it. Is there an SDK example of how to double click to to edit an existing text file from within Max the same way that coll and text do it?
There is a "doubleclick" message to which you can bind.
Sorry, had to change my approach because of the object init routine causing problems. Editing the file after init didn’t seem like the way to go.
Incase anyone stumbles across this thread in the future:
Example jit.textedit has
void max_jit_textfile_dblclick(t_max_jit_textfile *x);
Thanks again Tim. You’ve been very helpful.
Log in to reply
Let us tell you about notable Max projects, obscure facts, and creative media artists of all kinds.