Hi , ive just about finished my commandline plugin for resizing buttons except ive only just realised that refreshing the screen doesn't reload the buttons. Is there any way around this?
Professional Software Development Tools
Hi , ive just about finished my commandline plugin for resizing buttons except ive only just realised that refreshing the screen doesn't reload the buttons. Is there any way around this?
Last edited by clueless; 08-09-2008 at 12:20 PM.
Application.SetRedraw
Page.Redraw
doesnt work?
No, ive tried
and getting the page to jump to itself.Code:Application.SetRedraw(true); Page.Redraw(); Window.SetMask(Application.GetWndHandle(), "AutoPlay\\Images\\630_14.png", false, 0);
..and none of them reloads the buttons.
Last edited by clueless; 08-09-2008 at 03:32 PM.
you need to send a WM_PAINT message to the button, as we can not get the handle of a button thats going to be quite hard
can you not just reload the button file into the button and make it refresh that way ?
Open your eyes to Narcissism, Don't let her destroy your life!!
Ah ha
seems to do the job nicely.Code:Button.SetProperties("Button1", {ButtonFile="AutoPlay\\Buttons\\Untitled.btn"});![]()