Re: Win32 Api: How create a Color Dialog?

2020-01-10 Thread Marcone via Digitalmars-d-learn
On Thursday, 9 January 2020 at 21:55:26 UTC, Dennis wrote: On Thursday, 9 January 2020 at 13:04:33 UTC, Marcone wrote: [...] Windows has the 'common dialog' module with a ChooseColor function you can use. [...] Very Good! Working very well!

Re: Win32 Api: How create a Color Dialog?

2020-01-09 Thread Dennis via Digitalmars-d-learn
On Thursday, 9 January 2020 at 13:04:33 UTC, Marcone wrote: I am creating a GUI using winsamp.d as model. See the window here: https://i.ibb.co/ZJ4v2KD/Sem-t-tulo.png I want to ask a user for choose a color when click Configuration/Color, and then change backgroud color of GUI. But how can I

Win32 Api: How create a Color Dialog?

2020-01-09 Thread Marcone via Digitalmars-d-learn
I am creating a GUI using winsamp.d as model. See the window here: https://i.ibb.co/ZJ4v2KD/Sem-t-tulo.png I want to ask a user for choose a color when click Configuration/Color, and then change backgroud color of GUI. But how can I create a Color Dialog? There's dlang example in the web and I