How to change button text color in NM_CUSTOMDRAW (Win32 API question)

Imperatorn johan_forsberg_86 at hotmail.com
Tue Mar 16 19:42:26 UTC 2021


On Tuesday, 16 March 2021 at 19:15:02 UTC, Vinod K Chandran wrote:
> On Tuesday, 16 March 2021 at 18:35:00 UTC, Imperatorn wrote:
>
>> I see 😁
>>
>> Do you get CLR_INVALID in return?
>
> That results might be wrong. So i printed them in hex. These 
> are the hex results.
> Set Text color result - 00000000
> Set Text color result - 0233FF66
>
> Set Text color result - FFFFFFFF
> Set Text color result - 00000000
> Set Text color result - 0233FF66
> Set Text color result - 00000000
> Set Text color result - 0233FF66
>
> Look, the third one is CLR_INVALID.

Some info here
https://stackoverflow.com/questions/1525669/set-static-text-color-win32/1526240


More information about the Digitalmars-d-learn mailing list