Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Print Treeview
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Environment versions
Visual FoxPro:
VFP 8
OS:
Windows XP SP2
Network:
Windows 2000 Pro
Database:
Oracle
Miscellaneous
Thread ID:
01127751
Message ID:
01128950
Views:
24
> 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.
Previous
Reply
Map
View

Click here to load this message in the networking platform