Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to determine if treeview has a scroolbar?
Message
From
11/10/2004 07:31:52
 
 
To
01/10/2004 08:37:56
Metin Emre
Ozcom Bilgisayar Ltd.
Istanbul, Turkey
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00947893
Message ID:
00950365
Views:
12
This message has been marked as the solution to the initial question of the thread.
>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
Herman
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform