Entry | |
---|---|
R0 | Dialogue flags |
R1 | Pointer to colour picker block |
Exit | |
---|---|
R0 | Picker handle |
R1 | Window handle |
Bit | Value | Meaning |
---|---|---|
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) |
The purpose of this call is to create and open a colour picker dialogue for a client.
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.