How change window Backgound Color when press a Button when using "ResEdit Resource Editor" to design?
Marcone
marcone at email.com
Thu Jan 30 04:31:46 UTC 2020
On Thursday, 30 January 2020 at 04:29:42 UTC, bauss wrote:
> 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
I am very noob. Can you send me the code?
More information about the Digitalmars-d-learn
mailing list