I have a context menu in a CView-derived class. I also have a OnLButtonDown handler for the view.
Whenever a context menu is dismissed by a LButton click outside the menu, the
LButtonDown handler is called which I do not want to be called.
Q: The LButtonDown Handler should not be called on the dismissal of Context menu By Lbutton click outside the menu.
I have tried using The Rect (initialised to client area) as the last parameter of TrackPopupMenu but it did not work.
Any help is greatly appreciated