h6. [[ColourPicker]] h6(. » [[ColourPicker SWI Calls|SWI Calls]] h6((. » ColourPicker Block h2. ColourPicker Block |_<^{width:4em}. Offset |_<^. Contents | |<^. 0 |<^. "ColourPicker block flags":#flags | |<^. 4 |<^. Pointer to the title to be used, or 0 for a default title | |<^. 8 |<^. X co-ordinate of top left of the visible area of the dialogue | |<^. 12 |<^. Reserved (must be &80000000) | |<^. 16 |<^. Reserved (must be &7FFFFFFF) | |<^. 20 |<^. Y co-ordinate of top left of the visible area of the dialogue | |<^. 24 |<^. Reserved (must be zero) | |<^. 28 |<^. Reserved (must be zero) | |<^. 32 |<^. [[ColourPicker Colour Descriptor|Colour descriptor]]] | h4(#flags). ColourPicker Block Flags |_<^{width:4em}. Bit|_<^{width:4em}. Value|_<^. Meaning| |<^. 0 |<^. 1 |<^. Dialogue has a None button | |<^. 1 |<^. 1 |<^. Dialogue has the None button selected | |/5<^. 2 - 3 |<^. |<^. Dialogue button type, defining when [[Message_ColourPickerColourChanged]] is issued for it: | |<^. 0|<^. Never issued | |<^. 1|<^. Issued on any change, except during drags, which give a message at drag end | |<^. 2|<^. Issued on any change, including during drags | |<^. 3|<^. Reserved | |<^. 4 |<^. 1 |<^. Dialogue ignores [[Message_HelpRequest]] messages | |<^. 5 |<^. 1 |<^. Dialogue doesn't pass on unhandled key presses to the wimp | h4. See also * [[ColourPicker Colour Descriptor]] * [[ColourPicker_CloseDialogue]] * [[ColourPicker_OpenDialogue]] * [[Message_ColourPickerColourChanged]] * [[Message_HelpRequest]]