Sorry that didn't help Furas. If I get a chance I'll compile it on my XP
machine later and see if it makes a difference.
Hi.
"Tom Serface" wrote:
OK, I tried compiling your example and when I double click on the header
thing it changed the size of the header instead of the column... Anyway,
I
changed the way you were doing a few things to the code below and now it
works OK for me:
Changes you made didn't seem to have an effect on my problem. Actually,
they
shouldn't :) Unless you try my example on a Windows XP machine (= using
comctl32.dll v6.0), you probably won't believe... ;)
I've updated http://www.grci.host.sk/mfc/ . I've included your suggestions
in Sample2. New sample also shows the difference in computing the
"minimal"
(LVSCW_AUTOSIZE) width for the first and the second column.
I hope somebody will test the sample on a Windows XP machine with themed
controls and then will check the source to confirm this strange behaviour
in
the themed CListCtrl.
Anyway, I really appreciate your help. Thank you.
Furas