Double click to Edit Text file code example?

Mar 7, 2011 at 6:26pm

Double click to Edit Text file code example?

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?

Mar 9, 2011 at 3:54pm

There is a “doubleclick” message to which you can bind.


Jul 18, 2011 at 5:24pm

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.


You must be logged in to reply to this topic.