AcornSearch - Acorn and RISC OS information searching
RISC OS Search
containing
"Nutty quip goes here!"
Home  |  About  |  Filebase Archive  |  StrongHelp Manuals  |  Newsgroups  |  Module Database
=>     R0 =     flags
     R1 =     pointer to colour picker block
<=     R0 =     picker handle
     R1 =     window handle

This SWI creates and displays a colour picker window. 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 MenusDeleted message (&400C9) otherwise things will break.
ColourPicker dialogue flags
Bit     Meaning

0-1     0 =     normal dialogue
     1 =     menu dialogue
     2 =     toolbox dialogue (has Close and Back icons instead of OK and Cancel buttons)
     3 =     submenu dialogue
other     reserved (must be 0)

[sh-index] Back to list of manuals