Click to See Complete Forum and Search --> : Listbox horizontal scroll bar
imranhabib
November 6th, 2003, 12:44 PM
How to create Listbox horizontal scroll bar which only display when text go out of the list box range. I mean which is auto resizable.
I am currently sending LB_SETHORIZONTALEXTENT message for displaying Horizental scroll bar, but this way scroll bar remians there independant of largest item text length.
Marc G
November 13th, 2003, 04:11 AM
Take a look at the following article: http://www.codeguru.com/listbox/hscroll_lb.html
imranhabib
November 13th, 2003, 10:10 AM
Thanks for the Link, but I want to implement this in WIN32 API not MFC. Any idea about this.
Marc G
November 13th, 2003, 10:20 AM
Do you know a bit of MFC?
If so it should be rather trivial to convert it to plain Win32 api. You can almost convert this line by line.
imranhabib
November 13th, 2003, 12:10 PM
I dont know too much about MFC , but I can try
Marc G
November 13th, 2003, 01:01 PM
If you have any problems with it, don't hesitate to ask.
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.