m_strNoItems and word wrap |
Post Reply |
Author | |
JohnCrenshaw
Groupie Joined: 08 September 2006 Status: Offline Points: 65 |
Post Options
Thanks(0)
Posted: 21 March 2007 at 4:09pm |
I want to display a message that is a little bit longer than normal when the list has no entries in it because there are some things the user may want to consider in this case. My problem is that the message in m_strNoItems doesn't wrap. I have hard coded some newlines as a temporary fix, but since this control may be wider depending on user options, this is a bad workaround.
I'd like to modify this in the codejock files but first I have to make sure my code won't be broken again when I get the next version.
More to the point, could you add DT_WORDBREAK to the flags on line 1061 of xtpreportcontrol.cpp? This is a call to DrawText() inside the function DrawRows(). I have already tested this and the results are acceptable.
|
|
sserge
Moderator Group Joined: 01 December 2004 Status: Offline Points: 1297 |
Post Options
Thanks(0)
|
Ok, thanks for the suggestion. Will do.
-- WBR, Serge |
|
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 |