Specifying a Palette for a Control
Go Up to Handling Palettes
To specify a palette for a control, override the GetPalette method of the control to return the handle of the palette.
Specifying the palette for a control does these things for your application:
- It tells the application that your control's palette needs to be realized.
- It designates the palette to use for realization.