DLLChooseColor()

DLLChooseColor()
  • SYNOPSIS:
    DLLChooseColor(mBankColours,[iFlags])
  • DESCRIPTION:
    Opens a common control dialog Colour Picker palette selector on the desktop with the given flags and custom colours.
  • PARAMETERS:
    mBankColours A bank of colours and inital colour, created with DLLCreateColorBank() <- See this command for more info on the colour bank and how to use it.
    iFlags (optional)

    The flags you want to open the colour picker with. Defaults to CC_FULLOPEN. Possible flags are:

    CC_FULLOPEN - Opens the window with full palette.
    CC_PREVENTFULLOPEN - Prevents you selecting exact colours with the palette.

  • RETURNS:
    A packed RGB format integer. Use DLLGetColorRed(), DLLGetColorGreen(), DLLGetColorBlue() to separate it into R, G, B values.
  • EXAMPLE:
    See example012.bb
  • BUGS:
    None Known.

Return To Index
Problems with this command or bugs? EMail me at: mailto:loki.sd@blueyonder.co.uk

Section Last Updated: Saturday, February 2, 2002 1:59 PM GMT

All materials used in this help, related sources and binaries are (C)opyright Rob Hutchinson, Joseph Cox and Tarropithium Software 2002. All rights reserved. All software is provided without warranty unless otherwise stated.
Tarropithium Software or the authors will not be held liable for any damage or data loss that may occur during the application of this software. Use it at your own risk!