CPalette::FromHandle

This method returns a pointer to a CPalette object when specified a handle to a Windows CE palette object.

At a Glance

Header file: Afxwin.h
Platforms: Palm-size PC, H/PC Pro
Windows CE versions: 2.10 and later
Complete documentation: Visual C++ documentation

Syntax

static CPalette* PASCAL FromHandle( HPALETTE hPalette );