F
FWidmann
Guest
Hello MFC devolopers,
I try to use the list control (CListCtrl) in tile view mode. That basically works.
But now, we like to use long, descriptive texts as title of the items.
STRINGTABLE
BEGIN
IDS_VIEW_LAYOUT_1 "Treeview (Alt+T)"
IDS_VIEW_LAYOUT_2 "Channel list (Alt-C)"
IDS_VIEW_LAYOUT_3 "Treeview and Channel list (horizontally arranged)"
IDS_VIEW_LAYOUT_4 "Treeview and Channel list (vertically arranged)"
IDS_VIEW_LAYOUT_5 "Device list and Channel list (horizontally arranged)"
IDS_VIEW_LAYOUT_6 "Treeview and Device list\n(upper section, vertically arranged), Channel list (lower section)"
IDS_VIEW_LAYOUT_7 "Treeview (left section) Device list and Channel list (right section, horizontally arranged)"
END
Here the first 5 items look good, the first two fit into one line and the next three are automatically wrapped.
But for the last two items, the title is truncated.
(Here I wanted to include a screenshot. But the MDSN forum forbids me to upload images.)
Is there a way to wrap the long title over more than 2 lines? Or any other solution to display long titles?
Regards
Friedbert
Continue reading...
I try to use the list control (CListCtrl) in tile view mode. That basically works.
But now, we like to use long, descriptive texts as title of the items.
STRINGTABLE
BEGIN
IDS_VIEW_LAYOUT_1 "Treeview (Alt+T)"
IDS_VIEW_LAYOUT_2 "Channel list (Alt-C)"
IDS_VIEW_LAYOUT_3 "Treeview and Channel list (horizontally arranged)"
IDS_VIEW_LAYOUT_4 "Treeview and Channel list (vertically arranged)"
IDS_VIEW_LAYOUT_5 "Device list and Channel list (horizontally arranged)"
IDS_VIEW_LAYOUT_6 "Treeview and Device list\n(upper section, vertically arranged), Channel list (lower section)"
IDS_VIEW_LAYOUT_7 "Treeview (left section) Device list and Channel list (right section, horizontally arranged)"
END
Here the first 5 items look good, the first two fit into one line and the next three are automatically wrapped.
But for the last two items, the title is truncated.
(Here I wanted to include a screenshot. But the MDSN forum forbids me to upload images.)
Is there a way to wrap the long title over more than 2 lines? Or any other solution to display long titles?
Regards
Friedbert
Continue reading...