scrollbar doesnt work
-
Hello, I have a dialog box that contains an ownerdraw listbox with imaghes and text I give the option to resizes the dialog box(by SetWindowPos), such that not all of the listbox is appear , I changhed the vertical and the horizontal scrollbar properties to be true and they are appearing on dialog but I can't scroll them although the list box is not appear completely, how can I cause the scroll bar to work appropriate ? thanks
-
Hello, I have a dialog box that contains an ownerdraw listbox with imaghes and text I give the option to resizes the dialog box(by SetWindowPos), such that not all of the listbox is appear , I changhed the vertical and the horizontal scrollbar properties to be true and they are appearing on dialog but I can't scroll them although the list box is not appear completely, how can I cause the scroll bar to work appropriate ? thanks
I just had what might be a similar problem, though it was just the horizontal scrollbar giving me trouble. I had to call SetHorizontalExtent, giving it the widest thing in the list in pixels. Try calling that and see if it helps at least with the horizontal scrollbar.