Re: dgui - Button continually repainting

2014-09-15 Thread Mike James via Digitalmars-d-learn
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

Re: dgui - Button continually repainting

2014-09-10 Thread Mike James via Digitalmars-d-learn
// Please file this issue also on the dgui bibucket home page. Kind regards Andre // Done. Regards, -=mike=-

dgui - Button continually repainting

2014-09-09 Thread Mike James via Digitalmars-d-learn
Hi. I've created a graphic button as per this example on the dgui website: import dgui.all; class MyForm: Form { this() { text = An Exception was thrown...; size = Size(130, 100); // Or use `Bitmap.fromFile`:

Re: dgui - Button continually repainting

2014-09-09 Thread andre via Digitalmars-d-learn
Hi, Just checked, on WM_PAINT all event listeners (event paint) are called. Overwriting onPaint seems to work better (issue 18 in dgui bitbucket site). Please file this issue also on the dgui bibucket home page. Kind regards Andre On Tuesday, 9 September 2014 at 10:50:11 UTC, Mike James