2 possibilities
1. would need to measure text length and set horizontal scrollbar width. listbox does not automatically adjust horizontal scrollbar has to be programmed.
2. change list box to SysListView32 but would require more programming.
as far as your other issue i guess i could make a list of items that are already disabled and when the Enable part of the function runs check that list and skip those items.
1. would need to measure text length and set horizontal scrollbar width. listbox does not automatically adjust horizontal scrollbar has to be programmed.
2. change list box to SysListView32 but would require more programming.
as far as your other issue i guess i could make a list of items that are already disabled and when the Enable part of the function runs check that list and skip those items.