context menu doesn't disappear, mfc
Posted: Tue Jun 15, 2010 2:31 am
Hello,
I've got an component in c#, which just shows StiViewerControl. My second project is written in c++ with mfc and it shows this c# component http://msdn.microsoft.com/en-us/library ... S.80).aspx). Everything works fine, except context menu. When I click on mouse (right button), context menu displays, but when I click on left button (anywhere), context menu dosn't disappear. The only way to hide menu is to choose some item from menu.
It looks like this http://kurdt.sweb.cz/report.png
Thank you.
I've got an component in c#, which just shows StiViewerControl. My second project is written in c++ with mfc and it shows this c# component http://msdn.microsoft.com/en-us/library ... S.80).aspx). Everything works fine, except context menu. When I click on mouse (right button), context menu displays, but when I click on left button (anywhere), context menu dosn't disappear. The only way to hide menu is to choose some item from menu.
It looks like this http://kurdt.sweb.cz/report.png
Thank you.