WinXDraw_GetColour


colour = WinXDraw_GetColour (hWndOwner, initialColour)

Displays a dialog box allowing the user to select a colour

Parameter Description
hWndOwner The handle to the window that will own the dialog or 0 for none
initialColour The colour to initialise the dialog with

Returns

The colour the user selected or 0 on fail

Remarks

This dialog maintains a set of custom colours between calls

Examples

'Get a colour
colour = WinXDraw_GetColour (#hMain, 0)

Related Links