Theming & code duplication
Robert Shearman
rob at codeweavers.com
Thu Jul 28 08:54:27 CDT 2005
Frank Richter wrote:
>On 27.07.2005 17:36, Robert Shearman wrote:
>
>
>>You could make the code to using RedrawWindow(... RDW_UPDATENOW),
>>assuming that the paint functions it is calling are for the whole
>>control, not a component of the control.
>>
>>
>>
>
>Occasionally it does... afaics mostly stuff like just drawing the focus
>rect or checkboxes only draw the mark when the state changes... but
>perhaps one could get away with repainting the whole control in this
>case, though I fear that this would cause flickering again.
>
>
In that case, you will have to retrieve the rectangle of the changed
area and pass that rectangle to RedrawWindow.
--
Rob Shearman
More information about the wine-devel
mailing list