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

Vinod K Chandran kcvinu82 at gmail.com
Tue Mar 16 19:09:23 UTC 2021


On Tuesday, 16 March 2021 at 18:35:00 UTC, Imperatorn wrote:

>
> I see 😁
>
> Do you get CLR_INVALID in return?

As far as i know this is the value of CLR_INVALID - 4294967295.
And these are the results i got from my function.

Set Text color result - 0
Set Text color result - 36962150

Set Text color result - -1
Set Text color result - 0
Set Text color result - 36962150
Set Text color result - 0
Set Text color result - 36962150

The first two results got when the form shown. Rest are the 
results of a mouse hover.


More information about the Digitalmars-d-learn mailing list