Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to determine if treeview has a scroolbar?
Message
De
11/10/2004 07:31:52
 
 
À
01/10/2004 08:37:56
Metin Emre
Ozcom Bilgisayar Ltd.
Istanbul, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00947893
Message ID:
00950365
Vues:
13
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform