TextBox

The place for threads about TimoSoft EditControls.
Post Reply
AnnaS
Cadet
Posts: 4
Joined: 19 Jan 2009, 22:58

TextBox

Post by AnnaS »

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!
User avatar
TiKu
Administrator
Administrator
Posts: 832
Joined: 28 Sep 2004, 21:10
Location: München
Contact:

Re: TextBox

Post by TiKu »

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!
Post Reply