BCGSoft Professional Editor for MFC
virtual BOOL CBCGPEditCtrl::IsPasteEnabled ( ) const
virtual

Tells whether paste from the Clipboard is allowed (enabled).

Returns
TRUE if it's possible to paste the text from the Clipboard to the edit control; otherwise FALSE.

Call this function to determine whether paste from the Clipboard is allowed. The default implementation checks if the data in CF_TEXT (see clipboard formats in MSDN) format is available.