◄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► -♦-