Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Report Control
  New Posts New Posts RSS Feed - [SOLVED] setting the column header text to wrap?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

[SOLVED] setting the column header text to wrap?

 Post Reply Post Reply
Author
Message
brianh View Drop Down
Groupie
Groupie


Joined: 30 April 2004
Location: United Kingdom
Status: Offline
Points: 83
Post Options Post Options   Thanks (0) Thanks(0)   Quote brianh Quote  Post ReplyReply Direct Link To This Post Topic: [SOLVED] setting the column header text to wrap?
    Posted: 17 October 2014 at 11:18am
Hi,
I have some long column titles, so I have made the headers taller so the text can wrap, however it still displays centred and clipped, so how can I get it to wrap?
Thanks,
Brian
Back to Top
brianh View Drop Down
Groupie
Groupie


Joined: 30 April 2004
Location: United Kingdom
Status: Offline
Points: 83
Post Options Post Options   Thanks (0) Thanks(0)   Quote brianh Quote  Post ReplyReply Direct Link To This Post Posted: 17 October 2014 at 11:36am
Hi,
I found how to add wordbreak by calling SetHeaderAlignment() on the column and passing in the DT_WORDBREAK flag, but when I also pass in the DT_CENTER flag it seems to left align when wrapping is required. :(
Brian
Back to Top
olebed View Drop Down
Admin Group
Admin Group


Joined: 01 July 2014
Location: Ukraine
Status: Offline
Points: 841
Post Options Post Options   Thanks (0) Thanks(0)   Quote olebed Quote  Post ReplyReply Direct Link To This Post Posted: 06 November 2014 at 4:27am
Hi Brianh,

Thank you for bringing this to our attention. The issue has already been fixed. The fix will be available in the next beta or final release.

Regards,
 Oleksandr Lebed
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.203 seconds.