Microsoft Foundation OLE Classes (mfcole.hlp) (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.
COleServerDoc::OnSetColorScheme
◄COleServerDoc►                               ◄Up► ◄Contents► ◄Index► ◄Back►
──Microsoft Foundation OLE Classes──────────────────────────────────────────
  protected:
      virtual OLESTATUS
               OnSetColorScheme( LPLOGPALETTE <lpLogPalette> );
 
  Parameter      Description
 
  <lpLogPalette> A pointer to a Windows LOGPALETTE structure.
 
  Remarks
 
  This virtual callback function is called when a client sets the color
  scheme for this server document. The default implementation saves the
  color information in the m_hPalette data member.
 
  Return Value
 
  See the ◄COleException► class for a list of return values. The value
  OLE_OK indicates that the function operated correctly.
 
  See Also
 
  ◄COleClientItem::SetColorScheme►
 
 
                                     -♦-