<< Also, I can only select (highlight) items in the list view by right-clicking. When I left-click, they do not stay highlighted when I release the mouse. >>
This is probably because there is a problem with the variable that you have specified to "capture" the current value of the listbox. This variable must be declared, and it must have a type matching the type of the column that returns values from the list view. Also, you must make sure that every row in the list view will return a unique value in that column or else you will get a "jumping effect" when you choose certain rows. As for positioning, if you carefully count pixels you can set up the columns so that the right side divider line of the header is up against the right side of the box. Last year, I posted a snippet of code that you could attach to a button in your form that would read the column widths on the list view. This would allow you to set up the columns while the form is _running_ exactly the way you want, and then read the widths out. However, be aware that if you set this up the way you want and then add rows to the list view so that a horizontal scroll bar will appear on the bottom. If you plan in advance for lists big enough to create the scroll bar, you'll have to supply a fourth "column" of empty space to accomodate the scroll bar. Finally, using DLCALL you can probably use the Windows messaging system to tell the list view to suppress the horizontal scroll bar entirely. -- Larry

