Quantcast
Channel: Visual C forum
Viewing all articles
Browse latest Browse all 15302

treeview item width in custom draw

$
0
0

I asked this some time ago and asking again as I didn't get any response nor could I find the response in any of the existing posts.

Is there a way for me to tell Windows the width of the treeview item I draw myself using custom draw so Windows can setup the horizontal scroll bar based on that width and I'm saved from sub-classing the treeview control's winproc (in order to handle scroll bar notifications and mouse hittesting logic)?

I'm looking for something on the lines of WM_MEASUREITEM that is offered for treeview.

Thanks,

--ANURAG.



Viewing all articles
Browse latest Browse all 15302

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>