I have been using
mess1( patcherview, gensym( "nativewindow" ), (void **)&viewWindow );
to get access to the native patcher window reference.
It used to return a WindowRef referring to a window implementing an HIView hierarchy. It appears that this has changed in Max6 as any HIView related calls I make fail
-50 - paramErr or
-5600 - errInvalidWindowRef
I have been using this to embed an OpenGL context in the patcher window directly to create a video display object (for softVNS, not jitter).
What kind of structure or object am I now getting back from this native window message?
Is there now in Max6 a sanctioned and documented way of embedding a custom OpenGL context in a patcher?