Hi Herman,
You hit truly. :)
Thank you,
>>How to determine if treeview has a scroolbar?
>>
>>I ask it because I want to resize treeview until it won't has a scroolbar. It'a a stupidly dealer request. :(
>
>Hi Metin,
>
>Try this:
>
>Declare Long GetWindowLong in User32 Long nhWnd, Integer nIndex
>
>nWndStyle = GetWindowLong( ThisForm.Tree1.hWnd, -16 )
>If (BitAnd( nWndStyle, 0x200000 ) != 0)
> ? 'Treeview has Vertical Scrollbar'
>endif
>
>
>Regards