Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Print Treeview
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Versions des environnements
Visual FoxPro:
VFP 8
OS:
Windows XP SP2
Network:
Windows 2000 Pro
Database:
Oracle
Divers
Thread ID:
01127751
Message ID:
01128950
Vues:
28
> You means we can get a graphic from treeview control ?

Yes, the image of TreeView control can be:
- printed
- saved to a graphics file
- drawn of VFP main screen

Thic can be done through GDI and/or GDI+ API calls. The starting point is TreeView's Handle property, which is a window handle.

The ActiveX controls, like TreeView, ListView, Web Browser control and others, are windows. So their HDCs can be accessed through their window handles.

Visual FoxPro controls, like Label, TextBox, ListBox and others, are not windows. If VFP control needed to be printed/saved to file, the parent window's handle (usually this is a hosting form) must be used together with control's coordinates.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform