acw
Joined: 04 Nov 2005 Posts: 165 Location: Darkest Devon
|
Posted: Wed Nov 23, 2005 7:33 am Post subject: %lv report view column sizing with %sz window sizing |
|
|
I have a report style list view in a resizeable dialog. I am saving the list view column widths and dialog size in the registry and restoring them next time the dialog is shown. It mostly runs happily except that the far-right column in the list is always resized to the full width of the view, even if its width is explicity set in the %lv header string. Since the %sz sizing seems to occur after the window has been created, the list ends up with the final column sized to the default dialog size, rather than my the resized one but only if the resized dialog is thinner than the default - if its wider then the persistent width is okay. So, is there any way of getting around this by preventing the last column in the list view from being automatically adjusted ?
Cheers,
Alan |
|