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::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
 
 
                                     -♦-