Bug - CXTPEdit Resize v. 13.0 |
Post Reply |
Author | |
Algae
Senior Member Joined: 08 January 2007 Location: United States Status: Offline Points: 217 |
Post Options
Thanks(0)
Posted: 04 June 2009 at 10:00pm |
I haven't had a chance to dig into the code much, but found a bug with borders not drawing properly when a CXTPEdit control is resized using MoveWindow.
Example: assume that m_cNotes is type CXTPEdit with borders displayed. We want to expand it to the right 100. CRect noteRect; m_cNotes.GetWindowRect(¬eRect); ScreenToClient(¬eRect); noteRect.right += 100; m_cNotes.MoveWindow(noteRect); The result is that the borders (upper, lower) seem to draw only to the extent of the original size while the right border is not visible. Replacing the CXTPEdit control with a standard CEdit control draws completely. The control from 10.42 that I used previously works as well. *Note: In my scenario I am obscuring another edit window with the edit control, but I don't think it matters. |
|
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 |