I wonder if someone can give me some advice/insight. In my application if I have 2 documents open and a user right clicks on the non-active document the context menu opens and then the document becomes active and the context menu disappears. I'm not sure what is causing the context menu to close but I assume I'm doing something when the document becomes active (like stealling focus).
I'm wondering what causes the context menu to close, and is there a way to work around this behavior. e.g. can I programically open the context menu after the document is loaded.