>>>>
>>>>This is strictly a SWAG, but I'd look at sending a WM_PAINT message to the control via either SendMessage() or PostMessage(). My first thought would be to place it in the re-size event. The Treeview control has an hWnd property that would be used to identify the target window.
>>>>
>>>
>>>Use PostMessage, since the hWnd of the TreeView is different than the hWnd of the form, and it doesn't respond to the form's lockscreen property.
>>>
>>Well, I was working off the top of my head.< bg >
>
>Looks like more and more of the top of your head is exposed... < g,d&r >
Hey! I resemble that remark!:-) Actually, my hairline hasn't changed much in the last 30+ years, although the wife has been insisting (for 20+ years) that I'm losing hair on top.
George
Ubi caritas et amor, deus ibi est