Lope 0 Posted April 21, 2010 (edited) I want to either * Lock what my graphics objects draw onto the form so it persists when the form redraws * Know when the form redraws and then I can redraw my graphics objects At the moment my graphics stuff disappears when the window goes behind another. I can make it always ontop, but then MsgBoxes don't work Edited April 25, 2010 by Lope Share this post Link to post Share on other sites
Lope 0 Posted April 25, 2010 I hope its okay if I bump this. Share this post Link to post Share on other sites
martin 85 Posted April 25, 2010 I hope its okay if I bump this.You need to detect when the form is redrawn then redraw your images. UseGuiRegisterMsg($WM_PAINT,"MyRedawFn")and write the MyRedrawFn to do what you need. Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script. Share this post Link to post Share on other sites
Lope 0 Posted April 25, 2010 Thanks, works like a beast Share this post Link to post Share on other sites