“AColorDialog” Methods

BOOL ExecuteFromHandle(OLE_HANDLE Handle);
Display the dialog right to the control, whose handle is specified as parameter.

BOOL ExecuteFromPos(OLE_XPOS_PIXELS X, OLE_YPOS_PIXELS Y);
Display the dialog at X,Y position. X and Y are passed as parameters.

BOOL ExecuteFromMouse(Void );
Display the dialog at the position of mouse pointer. No parameters needed.

BOOL Execute(Void);
Display the dialog at the center of screen. No parameters needed.