다음을 통해 공유


COleServerItem::OnSetColorScheme

virtualBOOLOnSetColorScheme(constLOGPALETTEFAR*lpLogPalette);

Return Value

Nonzero if the color palette is used; otherwise 0.

Parameters

lpLogPalette

Pointer to a Windows structure.

Remarks

Called by the framework to specify a color palette to be used when editing the OLE item. If the container application was written using the Microsoft Foundation Class Library, this function is called when the function of the corresponding COleClientItem object is called. The default implementation returns FALSE. Override this function if you want to use the recommended palette. The server application is not required to use the suggested palette.

For more information, see in the OLE 2 Programmer’s Reference, Volume 1.

COleServerItem OverviewClass MembersHierarchy Chart