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::OnNcActivate
CWnd                                        Up Contents Index Back
──Microsoft Foundation Classes──────────────────────────────────────────────
 
  afx_msg BOOL OnNcActivate( BOOL  bActive  );
 
  Parameter   Description
 
  <bActive>   Specifies when a caption bar or icon needs to be changed to
              indicate an active or inactive state. The <bActive>
              parameter is TRUE if an active caption or icon is to be
              drawn. It is FALSE for an inactive caption or icon.
 
  Remarks
 
  Called when the nonclient area needs to be changed to indicate an active
  or inactive state.
 
  The Default member function draws the appropriate caption bar.
 
  This message-handler member function calls the Default member
  function. Override this member function in your derived class to handle
  the WM_NCACTIVATE message.
 
  Return Value
 
  TRUE if activation should proceed; FALSE if activation should be
  aborted.
 
  See Also
 
  CWnd::Default, WM_NCACTIVATE
 
 
                                     -♦-