What does everybody think of the idea of having a generalized "LockDrawing" property on the window and/or maybe the RectControl class in the RB framework? This property would be a flag to inhibit the RB framework from updating controls on the screen. This may be useful for reducing flicker under Win32 and useful for speeding up operations for certain controls. For example, speeding up of operations is similar to the old trick of setting a Listbox's visible property to false before adding a large amount of entries and then back to true when you are done. Of course that trick only makes sense under OS X since it is doubled buffered at the OS level. With this new property, that trick would become valid under Win32 since it would not erase the control or window when it is locked, just simply freeze the control for drawing updates. So you could do a whole bunch of updates and then unlock the window or control and only perform one visual update.
Perhaps an RS engineer would like to comment on the feasibility and usefulness of this idea since you know the internals of the framework. Or perhaps Joe Strout would care to make a comment here since you have worked with the internals of the RB framework. Is this doable? I'll create a feedback report for the request in the next day or so incorporating any comments from this thread if it looks doable. _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives: <http://support.realsoftware.com/listarchives/lists.html>
