Screen Dump to File : Clipper
This is a discussion on Screen Dump to File within the Clipper forums in Programming Languages category; Dirk > Has someone a solution for this problem ? Simply don't allow the window outside the bounds of the screen real estate. You can always reposition it inside the screen bounds before printing, put it back when done. CYA Steve...
| Clipper Clipper Programming |
![]() |
| | LinkBack | Thread Tools |
|
#11
| |||
| |||
| > Has someone a solution for this problem ? Simply don't allow the window outside the bounds of the screen real estate. You can always reposition it inside the screen bounds before printing, put it back when done. CYA Steve |
|
#12
| |||
| |||
| "Stephen Quinn" <stevejqNO@SPbigpond.AMnet.au> wrote in news:VWZPk.11088$sc2.5062@news-server.bigpond.net.au: Geoff I'd tryed your sample all is printed only may CustomControl is not, what can be the reasen. I'm drawing there some single graphs (with moveto,lineto). only this is left out. Matthias |
|
#13
| |||
| |||
| Interesting. Ok, I'm not sure but I'll tell you in about a week because I am doing exactly the same thing right now. It shouldn't make any difference but I will be checking. Geoff "Matthias Mayer" <Matthias.Mayer@T-Online.de> wrote in message news:Xns9B51B2491730FMayerMBISDE@127.0.0.1: > "Stephen Quinn" <stevejqNO@SPbigpond.AMnet.au> wrote in > news:VWZPk.11088$sc2.5062@news-server.bigpond.net.au: > > Geoff > I'd tryed your sample > all is printed only may CustomControl is not, what can be the reasen. > I'm drawing there some single graphs (with moveto,lineto). > only this is left out. > > Matthias __________ Information from ESET NOD32 Antivirus, version of virus signature database 3597 (20081108) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com |
|
#14
| |||
| |||
| Matthias, I had this problem too. It has something to do with the way windows of VO hadles shapes like line, rectangle etc. I did not get it right. Now I'm useing very small fixed text controls (with the right bacgground color) that I build on the fly and you do not see the difference with lines. It was more work but at least they are part of the screendump now. John Matthias Mayer schreef: > "Stephen Quinn" <stevejqNO@SPbigpond.AMnet.au> wrote in > news:VWZPk.11088$sc2.5062@news-server.bigpond.net.au: > > Geoff > I'd tryed your sample > all is printed only may CustomControl is not, what can be the reasen. > I'm drawing there some single graphs (with moveto,lineto). > only this is left out. > > Matthias |
|
#15
| |||
| |||
| I'v to print a lot Matthias |
|
#16
| |||
| |||
| Matthias, I think that building one METHOD DrawLine that takes the same parameters as drawing a line will do the job. After you've made the method converting many lines to this method call is not much work. It all depends on your need to print to a (JPG) file. John Matthias Mayer schreef: > I'v to print a lot > > Matthias |
|
#17
| |||
| |||
| I've solved that problem. You just need to make sure that you get the bitmap without erasure. Geoff "Matthias Mayer" <Matthias.Mayer@T-Online.de> wrote in message news:Xns9B51B2491730FMayerMBISDE@127.0.0.1: > "Stephen Quinn" <stevejqNO@SPbigpond.AMnet.au> wrote in > news:VWZPk.11088$sc2.5062@news-server.bigpond.net.au: > > Geoff > I'd tryed your sample > all is printed only may CustomControl is not, what can be the reasen. > I'm drawing there some single graphs (with moveto,lineto). > only this is left out. > > Matthias __________ Information from ESET NOD32 Antivirus, version of virus signature database 3600 (20081110) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com |
|
#18
| |||
| |||
| Hi I tried this sample (no FabPaint exemple): >>> METHOD WindowToPicture(uFileName, nLeft, nTop, nWidth, nHeight ) but i missed the function WriteDIB( cFileName, hDIB ), has anybody the source ? the first sample >> It is based on FabPaint and so you need to have that DLL is this library free? Mike |
|
#19
| |||
| |||
| Mike, This is the declaration of the FabPaint function to save to a DIB file. _DLL FUNCTION DIBSaveAs(pWinBmp AS PTR, pszFName AS PSZ) AS VOID PASCAL:FabPaint.FabDIBSaveAs //p Save a DIB Object to a DIB file //a <pWinBMp> Pointer to the DIB Object to save //a <pszFName> Name of the File to create //d This function will save the desired DIB Object as a DIB file. FabPaint is free for use and you should be able to get if from Fabrice Forray's website. John Mike schreef: > Hi > > I tried this sample (no FabPaint exemple): > >>>> METHOD WindowToPicture(uFileName, nLeft, nTop, nWidth, nHeight ) > > but i missed the function WriteDIB( cFileName, hDIB ), has anybody > the source ? > > the first sample >>> It is based on FabPaint and so you need to have that DLL > > is this library free? > > Mike > |


