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

Vinod K Chandran kcvinu82 at gmail.com
Tue Mar 16 19:15:02 UTC 2021


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.


More information about the Digitalmars-d-learn mailing list