共用方式為


CPalette::GetEntryCount

Call this member function to retrieve the number of entries in a given logical palette.

int GetEntryCount( );

Return Value

Number of entries in a logical palette.

Requirements

Header: afxwin.h

See Also

Concepts

CPalette Class

CPalette Members

Hierarchy Chart

CPalette::GetPaletteEntries

CPalette::SetPaletteEntries