Microsoft Foundation Classes (mfc.hlp) (Table of Contents; Topic list)
CWnd::OnAskCbFormatName
CWnd                                        Up Contents Index Back
──Microsoft Foundation Classes──────────────────────────────────────────────
 
  afx_msg void OnAskCbFormatName( UINT  nMaxCount, LPSTR  lpString  );
 
  Parameter   Description
 
  <nMaxCount> Specifies the maximum number of bytes to copy.
 
  <lpString>  Points to the buffer where the copy of the format name is to
              be stored.
 
  Remarks
 
  Called when the Clipboard contains a data handle for the
  CF_OWNERDISPLAY format (that is, when the Clipboard owner will display
  the Clipboard contents) and the Clipboard owner should provide a name
  for its format.
 
  Override this member function and copy the name of the
  CF_OWNERDISPLAY format into the specified buffer, not exceeding the
  maximum number of bytes specified.
 
  This message-handler member function calls the Default member
  function. Override this member function in your derived class to handle
  the WM_ASKCBFORMATNAME message.
 
  See Also
 
  CWnd::Default, WM_ASKCBFORMATNAME
 
 
                                     -♦-