Microsoft Foundation Classes (mfc.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
CWnd::OnNcMButtonDown
CWnd                                        Up Contents Index Back
──Microsoft Foundation Classes──────────────────────────────────────────────
 
  afx_msg void OnNcMButtonDown( UINT  nHitTest, CPoint  point  );
 
  Parameter   Description
 
  <nHitTest>  Specifies the hit-test code. A hit test is a test that
              determines the location of the cursor.
 
  <point>     Specifies a CPoint that contains the x and y screen
              coordinates of the cursor position. These coordinates are
              always relative to the upper-left corner of the screen.
 
  Remarks
 
  Called when the user presses the middle mouse button while the cursor is
  within a nonclient area.
 
  This message-handler member function calls the Default member
  function. Override this member function in your derived class to handle
  the WM_NCMBUTTONDOWN message.
 
  See Also
 
  CWnd::OnNcHitTest, CWnd::OnNcMButtonDblClk, CWnd::OnNcMButtonUp,
  WM_NCMBUTTONDOWN, CWnd::Default
 
 
                                     -♦-