This project is read-only.

document context menu

Apr 16, 2009 at 8:23 PM

I'm trying to create something similar to visual studio when it comes to document editing.  I'd like to have a context menu popup whenever the user right-clicks on the header of the document (with options like "Close", "Close all but this", "Save", etc).  I've tried accessing the 'header' potion of the control (so that I can set the context menu there), but can seem to find it.  Perhaps I could also listen for clicks on the document control, and do some sort of hit-testing to determine whether it was the header that was right-clicked.  Does anyone have a better idea of how to apply a context menu to the header of a document?  Thanks in advance.

Apr 23, 2009 at 7:04 PM
nm, just upgraded to the latest version (Apr 3), and the context menu's already baked in.  Thanks!