On Thursday, 30 January 2020 at 03:49:29 UTC, Marcone wrote:
I created a GUI using "ResEdit Resource Editor" and embeded to Dlang using this code above. Now I want to change the window Backgound Color when press a Button. How can I make it?



You need to handle WM_ERASEBKGND

And then you can set it using CreateSolidBrush and SetClassLongPtr with GCLP_HBRBACKGROUND

Reply via email to