ruderudy
June 21st, 2009, 09:58 AM
I have a question for experienced win32 api coders.
My problem is this:
I have a dialog with a listbox. this listbox are updated with strings sometimes while program is running. i want to add a scrollbar, but i dont know where to put it? inside the listbox (if that is possible?) or beside the borders of the dialog. maybe there's a way to scroll the contents of the listbox while using the latter option. since i dont think the best way is to make a long listbox inside the client-area of the dialog and then scroll the client area of the dialog to show the contents. but scroll the contents of the clientarea of the listbox. what is your thoughts on that?
My problem is this:
I have a dialog with a listbox. this listbox are updated with strings sometimes while program is running. i want to add a scrollbar, but i dont know where to put it? inside the listbox (if that is possible?) or beside the borders of the dialog. maybe there's a way to scroll the contents of the listbox while using the latter option. since i dont think the best way is to make a long listbox inside the client-area of the dialog and then scroll the client area of the dialog to show the contents. but scroll the contents of the clientarea of the listbox. what is your thoughts on that?