How To Find Out If A Scrollbar Is Visible
Posted on 2004-03-24
I have a CListCtrl, and I need to find out if it's vertical scrollbar is visible and what the scrollbar's width is so that I can resize the columns and remove the need to scroll horizontally. I've tried the GetScrollBarCtrl(SB_VERT);, but I always get NULL. I'm sure it's something stupid, but I haven't found the right function(s) for this. Thanks in advance.