Color Dialog call winAPI
This code will use user32.dll and comdlg32.dll to call a default font dialog.
SBChooseColor(defaultColor, memCustomColors)
- defaultColors: This is the default selected color in the dialog.
- memCustomColors: In the color, there are 16 custom color boxes. If you specify a memblock number here, the custom colors are saved in this memblock.
The structure is very simple:
byte 0: red
byte 1: green
byte 2: blue
byte 3: 0 (always 0. So this means you can't just write a dword with the rgb() value)
(X16)