Author Message

|    toolbar                            |
|---------------------------- |   ->SDI
|    View                               |

I have developed Popup(floating)Menu with SDI On The MFC(VC++5.0).
The problem is  that whenever I right _click both the view area and
toolbar area the has been appeared.
But I don't want the pouup menu to be appeared on the view area.
I want  the popup menu to be appeared on the toolbar area.
please help me.please give me the sample code!!


void CMainFrame::OnContextMenu(CWnd* pWnd, CPoint point)
 // TODO: Add your message handler code here
 CMenu Float;


Wed, 02 Aug 2000 03:00:00 GMT  
 [ 1 post ] 

 Relevant Pages 

Powered by phpBB® Forum Software