Very strange bug with CEdit |
Post Reply |
Author | |
Karnize
Newbie Joined: 20 October 2003 Location: Italy Status: Offline Points: 19 |
Post Options
Thanks(0)
Posted: 05 November 2003 at 5:56am |
Hello again I found very strange bug with standard CEdit class when it used on some resizable form (CXTResizeFormView, CXTResizeDialog). Set multiline style to CEdit and make it big enough to hold several lines of text. If you place this editor to the CDialog and then enable/disable it you will see what all background of the editor became white/gray. It is not depends on the content of the editor (i.e. empty, one text line or several text lines). But if you now place this editor to the CXTResizeDialog and try to enable/disable it, you will see what if editor empty or contain single line of text only one line in editor became gray if editor contains several lines of text these lines became gray but whole editor stay white. It is very strange because I use standard Windows CEdit class in both cases and all they styles are same. I think there is some problems in resize (and redraw) mechanism. |
|
Karnize
Newbie Joined: 20 October 2003 Location: Italy Status: Offline Points: 19 |
Post Options
Thanks(0)
|
I make some tests and have some more precise definition to my previous post. For example open your EditListBox sample project. At the first page make one of the editors higher and set to it multiline style. Then run program and try to disable controls at first page, you will see bug which I describe above. But place at the same page additional multiline CEdit (not CXTBrowseEdit) control and there will be no bugs. I try to put CEdit on CXTResizeDialog and hadn`t any bugs. But I use standard CEdit control at CXTResizeFormView (which placed as tab to CXTTabView, my main view) and have the same bug as above. Please comment the problem. |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |