Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Printing a chart that is in the clipboard
Message
From
30/06/2003 11:47:04
 
 
To
14/06/2003 07:36:26
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00799638
Message ID:
00805347
Views:
42
>>>>VFP6
>>>>
>>>>1. There is a chart in the clipboard
>>>>2. I want to print that chart
>>>>3. Is there a way to get that chart in a report and print it?
>>>
>>>Denis,
>>>Who created that chart. There might be an easier way than printing from clipboard.
>>>Cetin
>>
>>I created it in my app. with msChart
>
>Good I asked :)
>Check Thread #585060 and Message #585070
>Cetin

Problem in compilation
lnBPP = 24 && Color depth - 4,8 or 24
oBmp = newOBJECT("BMPMaker","obj2bmp")
oBmp.cFileName = 'C:\mschartsave.bmp' && Save filename
with ThisForm.OleControl1
 oBmp.MakeBitmap(_WhToHwnd(_WOnTop()), lnBPP, ;
  .top+sysmetric(9)+sysmetric(4), .left+sysmetric(3), .height, .width)
endwith
set library to home()+'foxtools.fll' additive has been done in my prg at the beginning



Unable to find unknown _WOnTop
Unable to find unknown _WhToHwnd



Have any idea what could be wrong at this level?
*******************************************************
Save a tree, eat a beaver.
Denis Chassé
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform