ListCtrl: How can i make the last column visible for the user?
C / C++ / MFC
2
Posts
2
Posters
0
Views
1
Watching
-
Hi, My column in the Listcontrol don't fit on the screen, how can i make the last column visible for the user? I know the method EnsureVisible(..) but this works only for the row's. Thanks
You will probably have to make use of the base class CWnd scroll functions to get the scroll range and set the scrollposition
int min;
int max;
m_Ctrl.GetScrollRange(SB_HORZ, &min, &max);
m_Ctrl.SetScrollPosition(SB_HORZ, max);Roger Allen Sonork 100.10016 In case you're worried about what's going to become of the younger generation, it's going to grow up and start worrying about the younger generation. - Roger Allen, but not me!