Closed SilverCory closed 5 years ago
Can confirm this works.
Sorry for the late response.
It works either way, but your change seems preferable.
Please add yourself to the AUTHORS file.
Thanks!
It works but the custom colours wouldn't work from what I could tell. Either that or I've misunderstood something about ColourRef?
Will do, thanks for accepting the PR.
Nothing special about COLORREF
. You just would have initialized LpCustColors
to the first item in the array, just like with C. But I actually prefer your change, so thank you!
Ahhh okay, I wouldn't have thought that would work. Nice talking to you! :)
https://docs.microsoft.com/en-gb/windows/desktop/api/commdlg/ns-commdlg-tagchoosecolora
The Microsoft documentation says that type
LpCustColors
is as follows: