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.
Handlers for WM_ Messages: Functions A - C
                                              Up Contents Index Back
──Microsoft Foundation Classes──────────────────────────────────────────────
 
  Map Entry                  Function Prototype
 
  ON_WM_ACTIVATE( )          afx_msg void OnActivate( UINT, CWnd*, BOOL
                             );
 
  ON_WM_ACTIVATEAPP( )       afx_msg void OnActivateApp( BOOL, HANDLE );
 
  ON_WM_ASKCBFORMATNAME( )   afx_msg void OnAskCbFormatName( UINT, LPSTR
                             );
 
  ON_WM_CANCELMODE( )        afx_msg void OnCancelMode( );
 
  ON_WM_CHANGECBCHAIN( )     afx_msg void OnChangeCbChain( HWND, HWND );
 
  ON_WM_CHAR( )              afx_msg void OnChar( UINT, UINT, UINT );
 
  ON_WM_CHARTOITEM( )        afx_msg int OnCharToItem( UINT, CWnd*, UINT
                             );
 
  ON_WM_CHILDACTIVATE( )     afx_msg void OnChildActivate( );
 
  ON_WM_CLOSE( )             afx_msg void OnClose( );
 
  ON_WM_COMPACTING( )        afx_msg void OnCompacting( UINT );
 
  ON_WM_COMPAREITEM( )       afx_msg int OnCompareItem(
                             LPCOMPAREITEMSTRUCT );
 
  ON_WM_CREATE( )            afx_msg int OnCreate( LPCREATESTRUCT );
 
  ON_WM_CTLCOLOR( )          afx_msg HBRUSH OnCtlColor( CDC*, CWnd*, UINT
                             );
 
 
                                     -♦-