h6. [[ColourPicker]] h6(. » [[ColourPicker SWI Calls|SWI Calls]] h6((. » ColourPicker_OpenDialogue h2. ColourPicker_OpenDialogue h5. (SWI &47702) |_<^{width:4em}. Entry | | |<^. R0 |<^. "Dialogue flags":#flags | |<^. R1 |<^. Pointer to [[ColourPicker Block|colour picker block]] | |_<^{width:4em}. Exit | | |<^. R0 |<^. Picker handle | |<^. R1 |<^. Window handle | h4(#flags). Dialogue Flags |_<^{width:4em}. Bit|_<^{width:4em}. Value|_<^. Meaning| |/5<^. 0 - 1 | |<^. Dialogue type | |<^. 0|<^. Normal Dialogue | |<^. 1|<^. Menu Dialogue | |<^. 2|<^. Toolbox dialogue (has Close and Back icons instead of OK and Cancel buttons) | |<^. 3|<^. Submenu dialogue| |<^. 4 - 31 |<^. 0 |<^. Reserved (must be zero) | h4. Use The purpose of this call is to create and open a colour picker dialogue for a client. h4. Notes The block passed need not be static, and defines the initial values of the window. When using menu-like pickers you should always accept the [[Message_MenusDeleted]] otherwise things will break. SWI is not re-entrant. h4. See also * [[ColourPicker Block]] * [[ColourPicker_CloseDialogue]]