dgui - Button continually repainting

Mike James via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Sep 15 06:54:43 PDT 2014


Hi Andre,

I've found a solution to the repainting problem. If you tick the 
"Disable visual themes" in the compatibility tab of the program 
properties (associated with the program icon) the button is only 
repainted when the mouse cursor enters and exits the button area.

Regards, -=mike=-

On Wednesday, 10 September 2014 at 19:46:06 UTC, andre wrote:
> Hi,
> Just noticed there is an event drawItem whichs is called on 
> WM_DRAWITEM. Class core.controls.ownerdrawcontrol.d is very 
> interesting.
> This event seems more suitable.
>
> Kind regards
> André
>
>
> On Wednesday, 10 September 2014 at 07:19:53 UTC, Mike James 
> wrote:
>> //
>> Please file this issue also on the dgui
>>> bibucket home page.
>>>
>>> Kind regards
>>> Andre
>>>
>> //
>>
>> Done.
>>
>> Regards, -=mike=-



More information about the Digitalmars-d-learn mailing list