Hello!
I have 2 problems with your TextBox Unicode control.
Problem 1)
a) Set .DontRedraw to TRUE
b) Call .SetFocus
The control flashes and redraws although .DontRedraw is still TRUE
Problem 2)
a) Set .DontRedraw to TRUE
b) Set .Text to a multiline text that causes the vertical scroll bar to resize because there a more lines now.
c) Set .DontRedraw to FALSE
The control first draws the old, larger vertical scroll bar (if one was shown before), then flashes and draws the new, smaller scrollbar.
Thank you!
TextBox
Re: TextBox
This is pretty sure a bug of Windows itself. The DontRedraw property is just a wrapper around the WM_SETREDRAW message. In Windows, some controls don't support this message at all (e. g. the SysTabControl32, i. e. the tab control). Others support it, but not to 100%. Looks like the Edit control is one of those.
Crunching for Fab36_Folding-Division at Folding@Home. Join Fab36/Fab30! - Folding@Home and BOINC
Boycott DRM! Boycott HDCP!
Boycott DRM! Boycott HDCP!