Greetings
I seem to recall seeing the answer for this once before, I just can't remember where... *Sigh*
Anyhow, I have an app I'm working on (suite of them actually) that display's data which is queried from a MySQL db. It's written (as usual for me) in straight Win32 API C++ (No .Net/MFC/etc.). The issue I'm having is that when the list box control is sorted by the (14th) Cost column the ListView control locks up untill the app is restarted.
Now in the various columns I do switch between alphabetical & numeric sorting, which works just fine for the first 11 columns, but... 12 & 13 only sort one direction instead of toggling between asc & desc, and 14 just hangs the LV thread completely. I've been using the same ListView Sort code in several different apps that all work just fine, but have 10 colums or less.
Which brings me to (the point?) my question. Does anybody recall seeing an issue with (and solution for) ListView controls having more than X number of columns hanging during sort? I swear I've seen this before reguarding a bugg in the LV control ... I just can't remember where or what the solution was.
I'm using MSVS 2005 SP1
Thank You
I seem to recall seeing the answer for this once before, I just can't remember where... *Sigh*
Anyhow, I have an app I'm working on (suite of them actually) that display's data which is queried from a MySQL db. It's written (as usual for me) in straight Win32 API C++ (No .Net/MFC/etc.). The issue I'm having is that when the list box control is sorted by the (14th) Cost column the ListView control locks up untill the app is restarted.
Now in the various columns I do switch between alphabetical & numeric sorting, which works just fine for the first 11 columns, but... 12 & 13 only sort one direction instead of toggling between asc & desc, and 14 just hangs the LV thread completely. I've been using the same ListView Sort code in several different apps that all work just fine, but have 10 colums or less.
Which brings me to (the point?) my question. Does anybody recall seeing an issue with (and solution for) ListView controls having more than X number of columns hanging during sort? I swear I've seen this before reguarding a bugg in the LV control ... I just can't remember where or what the solution was.
I'm using MSVS 2005 SP1
Thank You











).
- carpe noctem
)