BCGControlBar Pro for MFC
BOOL CBCGPGridCtrl::IsFocused ( ) const
inline

Tells whether the grid control has the focus, or not.

Returns
Nonzero if the grid control has the input focus; otherwise 0.

Call this function to determine whether the grid control has the input focus, or not.