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::OnCancelMode
◄CWnd►                                        ◄Up► ◄Contents► ◄Index► ◄Back►
──Microsoft Foundation Classes──────────────────────────────────────────────
 
  afx_msg void OnCancelMode();
 
  Remarks
 
  If the CWnd object has the focus, its OnCancelMode member function is
  called when a dialog box or message box is displayed. This gives the
  CWnd the opportunity to cancel modes such as mouse capture.
 
  Calls the ◄Default► member function, which responds by calling the
  ◄ReleaseCapture► Windows function. The Default member function does not
  cancel any other modes.
 
  Override this member function in your derived class to handle the
  ◄WM_CANCELMODE► message.
 
  See Also
 
  ◄CWnd::Default►, ◄::ReleaseCapture►, ◄WM_CANCELMODE►
 
 
                                     -♦-