Toolbox reunification of ColourDbox module
- Fixed memory leaks if registration of filters failed upon object creation.
- Guard against recurring errors when showing a delayed object
- Potentially supports any colour model (including those with more than 16 bytes of extension data)
- Displayed colour and model are now reset to the last confirmed choice (or that set by the client task) when the user clicks the ‘Cancel’ button.
- Fixed overrun of buffer passed to method ColourDbox_GetColourModel, when the specified object is showing
- Fixed unpredictable behaviour of ColourDbox_GetColour on a hidden object due to earlier lack of memory or if called prior to a colour having been set by the user or client program
- ColourDbox_GetColourModel now returns a result even if the object is hidden and a colour model was not previously set by the client program
- Lack of memory no longer results in reversion to the colour specified in an object’s template when it is next shown
- Fixed bug that caused ColourDbox_GetColour on a hidden object to return a truncated descriptor after the user had updated or confirmed the displayed colour
- Internal ColourModel was not set when receiving a ColourPicker_PickerChoice_Event or ColourPicker_ColourChanged_Event
- Internal flags for selection of none-button are not set correctly when ColourPicker_ColourChanged_Event event is received
- Added support for handling reset: Select and Adjust click on cancel button will now reset last set colour