Share

CAdUiPaletteSet::Create

C++

BOOL Create(
    LPCTSTR strTitle, 
    DWORD dwStyle, 
    const RECT & rect, 
    CWnd * pwndParent, 
    DWORD dwPaletteSetStyle = PSS_PROPERTIES_MENU | PSS_AUTO_ROLLUP | PSS_CLOSE_BUTTON | PSS_SNAP
);

Description

Creates the palette set window. Returns true on successful palette set creation; otherwise, returns false.

Parameters

Parameters Description
strTitle Palette set name
dwStyle Window (CWnd) style
rect Initial size of palette set window
pwndParent Pointer to palette set's parent window
dwPaletteSetStyle Palette set style; an OR'd set of CAdUiPaletteSet style constants

Links

CAdUiPaletteSet Class

Was this information helpful?