Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to determine if treeview has a scroolbar?
Message
From
12/10/2004 10:46:22
Metin Emre
Ozcom Bilgisayar Ltd.
Istanbul, Turkey
 
 
To
11/10/2004 07:31:52
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00947893
Message ID:
00950673
Views:
13
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform