Hi:

Anyone knows if there some trick to process HDN_BEGINTRACK or HDN_TRACK
message? I have mapped the message with corresponding handler but the
handler function never got called.

Thanks for any input.

Polaris

RE: Not getting HDN_BEGINTRACK in CListCtrl ? by anonymous

anonymous
Mon May 10 01:36:04 CDT 2004

Well gosh darn... just tried it myself and get same result (ie nothing)

I did me a google, and it turns out there's a good reason (although of course not a good reason why ClassWizard should get it wrong...
http://www.codeproject.com/listctrl/headerctrl.as
[Check about half way down the article

Hey - I actually found something useful at CodeProject! woohoo!

Re: Not getting HDN_BEGINTRACK in CListCtrl ? by Polaris

Polaris
Mon May 10 02:55:48 CDT 2004

Thanks for your info. It is quite useful. The reason I wanted to track the
message is to avoid user's changing column width. I used
GetHeaderCtrl()->EnableWindow(FALSE) and it worked fine for this purpose.

"GuitarBill" <anonymous@discussions.microsoft.com> wrote in message
news:30BF0F53-4317-40C5-9ACE-B78E6FAF4C1A@microsoft.com...
> Well gosh darn... just tried it myself and get same result (ie nothing).
>
> I did me a google, and it turns out there's a good reason (although of
course not a good reason why ClassWizard should get it wrong...)
> http://www.codeproject.com/listctrl/headerctrl.asp
> [Check about half way down the article]
>
> Hey - I actually found something useful at CodeProject! woohoo!