Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS Tech Support » Edit control flickers Collapse All
Subject Author Date
Offer Har Jul 7, 2008 - 6:48 AM

I have a multi-line edit box with one line of text in it.


When resizing the dialog the text flickers heavily.


Please fix.

Offer Har Jul 12, 2008 - 9:51 AM

Yes I did.


Please look at the previous thread about this bug - there is a screen-shot of the edit box properties.

Technical Support Jul 12, 2008 - 9:40 AM

Did you apply the WS_CLIPCHILDREN and WS_CLIPSIBLINS styles to your dialog window as we already suggested?

Offer Har Sep 8, 2008 - 3:29 PM

Can you please confirm this bug and fix it?

Technical Support Sep 9, 2008 - 2:18 PM

Please understand us right. We have researched this problem in details. But we came to conclusion that is easier to replace edit control with rich edit control if you need flicker free editor or log viewer window which is also can be used as both single line and multiline text editor. This is clearly visible in the ProfUIS_Controls sample application where you can compare resizing of multiline rich edit on the Date Browser dialog page and simple multiline edit control on the Date and Time dialog page. In both case Prof-UIS skinned scroll bars are applied but in both cases inner client are is painted by original controls - not by Prof-UIS. We would be really happy to fix flicker of simple edit common control, but it looks like it’s very special issue because we suspect Windows and/or Common Control library handles edit windows in some special way. It’s easier for us to code a new editor like http://www.codeproject.com/KB/edit/crysedit.aspx or http://www.scintilla.org. It’s easier for you to switch using rich edit window and not to wait for anything. Besides, MS Office, Visual Studio .NET, Visual Studio 2005 and Visual Studio 2008 applications are using rich editor windows everywhere it’s possible: all the edit controls inside toolbars and menus (including combo boxes) are rich editors there.