◄CPalette► ◄Up► ◄Contents► ◄Index► ◄Back► ──Microsoft Foundation Classes────────────────────────────────────────────── BOOL CreatePalette( LPLOGPALETTE lpLogPalette ); Parameter Description <lpLogPalette> Points to a LOGPALETTE structure that contains information about the colors in the logical palette. Remarks Initializes a CPalette object by creating a Windows logical color palette and attaching it to the CPalette object. Return Value TRUE if successful; otherwise FALSE. See Also ◄::CreatePalette► -♦-