9#if !defined(OWL_CHOOSECO_H)
13#if defined(BI_HAS_PRAGMA_ONCE)
104 auto DoExecute() ->
int override;
216 CustColorsArray.resize(16);
217 CustColors = &CustColorsArray[0];
221 CustColors =
nullptr;
Defines information necessary to initialize the dialog box with the user's color selection.
uint32 Flags
Flags can be a combination of the following values that control the appearance and functionality of t...
TColor * CustColors
Points to an array of 16 colors.
std::vector< TColor > CustColorsArray
uint32 Error
If the dialog box is successfully executed, Error is 0.
TColor Color
Specifies the color that is initially selected when the dialog box is created.
TData(uint32 flags=0, bool allocCustColor=false)
Wrapper for the Choose-Color common dialog.
static uint SetRGBMsgId
Registered messages this class sends (to itself)
void SetData(const TData &data)
Sets the data for this common dialog.
void SetCC(const CHOOSECOLOR &cc)
Set the CHOOSECOLOR data structure for this dialog.
void SetRGBColor(const TColor &color)
Sets the current RGB color for the open dialog box by sending a SetRGBMsgId.
CHOOSECOLOR & GetCC()
Return the CHOOSECOLOR data structure for this dialog.
TResult EvSetRGBColor(TParam1, TParam2)
The user has clicked on a color.
TData & GetData()
Return the data object for this common dialog.
Class wrapper for management of color values.
Derived from TDialog, TCommonDialog is the abstract base class for TCommonDialog objects.
ObjectWindows dynamic-link libraries (DLLs) construct an instance of TModule, which acts as an object...
TWindow, derived from TEventHandler and TStreamableBase, provides window-specific behavior and encaps...
TResult DefaultProcessing()
Handles default processing of events, which includes continued processing of menu/accelerators comman...
TResult SendMessage(TMsgId, TParam1=0, TParam2=0) const
Sends a message (msg) to a specified window or windows.
Definition of windowing system color classes.
Definition of Common Dialog abstract base class.
#define DECLARE_RESPONSE_TABLE(cls)
Object Windows Library (OWLNext Core)
UINT TMsgId
Message ID type.
LPARAM TParam2
Second parameter type.
WPARAM TParam1
First parameter type.