Search found 17 matches: playenhmetafile

Return to advanced search

Re: Calculate total pages

... oDevice:cDocument )   StartPage( oDevice:hDC )     hMeta := GetEnhMetaFile(aFiles[nFor])PlayEnhMetaFile( oDevice:hDC, hMeta,, .t. )oDevice:hDCOut := oDevice:hDC                  oDevice:CmSay( ...
by Otto
Fri Nov 24, 2023 6:24 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Calculate total pages
Replies: 32
Views: 5850

Re: Preview in Terminal Server does not look good - Antonio Help

Carlos,

In METHOD PrintPrv( oDlg, nOption, nPageIni, nPageEnd ) CLASS TPreview we use PlayEnhMetaFile()

Please replace those calls with XPlayEnhMetaFile() and lets see if that makes a difference in your case, thanks
by Antonio Linares
Sun Feb 09, 2020 1:38 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Preview in Terminal Server does not look good - Antonio Help
Replies: 10
Views: 1743

Re: Preview en Terminal Server no pinta bien

... El problema definitivamente es al momento en que FWH hace el paint del metafile- Puede ser en el Method PainMeta de TPreview, o en la función PlayEnhMetafile de metafi32.c, pero hasta allá no llegan mis capacidades. :( , pero con tu guía estoy seguro que podré solucionarlo. https://i.postimg.cc/pX2JmZb4/54199943.png
by Cgallegoa
Sun Feb 09, 2020 9:45 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Preview en Terminal Server no pinta bien
Replies: 11
Views: 2344

Re: Ayuda DLL

Antonio, aquí la segunda parte: Error: Unresolved external '_HB_FUN_DRAWTHEMED' referenced from P:\32BITS\FWH\LIB\FIVEHX.LIB|DIALOG Error: Unresolved external '_HB_FUN_GETDLGBASEUNITS' referenced from P:\32BITS\FWH\LIB\FIVEHX.LIB|DIALOG Error: Unresolved external '_HB_FUN_CDLG2CHR' referenced from P...
by ricardog
Thu Aug 31, 2017 2:56 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda DLL
Replies: 24
Views: 6329

construcción de easyPreview

He bajado el repositorio e intentado reconstruir easyPreview con el archivo de xMate que trae .... De momento faltan un archivo llamado "davinci.ch" ... lo he comentado y he seguido ... aqui pongo los errores que lanza para ir resolviéndolos .... Warning W8065 epmeta.prg 445: Call to funct...
by mastintin
Thu Aug 14, 2014 4:15 pm
 
Forum: EasyReport, EasyDialog y EasyPreview
Topic: construcción de easyPreview
Replies: 4
Views: 1464

Re: preview alpha 2

... oDevice:hDC, hMeta ) DeleteMetafile( hMeta ) EndPage( oDevice:hDC ) #else StartPage( oDevice:hDC ) hMeta := GetEnhMetaFile( aFiles[ nFor ] ) PlayEnhMetaFile( oDevice:hDC, hMeta,, .t. ) DeleteEnhMetafile( hMeta ) EndPage( oDevice:hDC ) #endif next case nOption == 2 // Current page StartPage( ...
by dobfivewin
Thu Jan 14, 2010 10:08 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: preview alpha 2
Replies: 2
Views: 2033

Re: Escalar BMP capturado con WndBitmap

... := CreateCompatibleBitmap( hDC1, 50, 75 )local hOldBmp := SelectObject( hDC, hBmp )local hEMF := GetEnhMetaFile( '1.emf' )PlayEnhMetaFile( oDlg:getDC(), hEMF, oDlg:hWnd )rectangle( hDc, 0,0,60,80 )PlayEnhMetaFile( hDc, hEMF, oBmp:hWnd )DrawBitmap( ...
by Marcelo Via Giglio
Wed Dec 16, 2009 8:36 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Escalar BMP capturado con WndBitmap
Replies: 17
Views: 3542

Re: Escalar BMP capturado con WndBitmap

Daniel, del manual PlayEnhMetaFile( <hDC>, <hEMF>, [<hWnd>], [<lPrinter>, [<nRightOffset>], [<nBottomOffset>]] ) --> lSuccess del codigo fuente #ifdef __XPP__   CLIPPER PLAYENHMET( ...
by Marcelo Via Giglio
Wed Dec 16, 2009 1:49 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Escalar BMP capturado con WndBitmap
Replies: 17
Views: 3542

Re: Escalar BMP capturado con WndBitmap

Hola Marcelo...

estas usando mal la funcion PlayEnhMetaFile

mira los parametros que debes pasar

PlayEnhMetaFile( hDC, hEMF, { 0, 0, 50, 75 } )
by Daniel Garcia-Gil
Wed Dec 16, 2009 1:21 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Escalar BMP capturado con WndBitmap
Replies: 17
Views: 3542

Re: GetPrintDC()

... PlayMetaFile( oDevice:hDC, hMeta ) DeleteMetafile(hMeta) EndPage(oDevice:hDC) #else StartPage(oDevice:hDC) hMeta := GetEnhMetaFile(aFiles[nFor]) PlayEnhMetaFile( oDevice:hDC, hMeta,, .t. ) DeleteEnhMetafile(hMeta) EndPage(oDevice:hDC) #endif NEXT case nOption == 2 // Current page StartPage(oDevice:hDC) ...
by jbrita
Tue Nov 24, 2009 11:29 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: GetPrintDC()
Replies: 4
Views: 2707

... PlayMetaFile( oDevice:hDC, hMeta ) DeleteMetafile(hMeta) EndPage(oDevice:hDC) #else StartPage(oDevice:hDC) hMeta := GetEnhMetaFile(aFiles[nFor]) PlayEnhMetaFile( oDevice:hDC, hMeta,, .t. ) DeleteEnhMetafile(hMeta) EndPage(oDevice:hDC) #endif NEXT case nOption == 2 // Current page StartPage(oDevice:hDC) ...
by Manuel Valdenebro
Thu Feb 28, 2008 4:30 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: RPREVIEW modificada por Manuel Valdenebro ?
Replies: 8
Views: 3361

... * Documentación actualizada de las siguientes funciones en FWFun.chm: cTempFile() Ctl3DLook() GetPrintDC() InvalidateRect() MenuMeasureItem() PlayEnhMetaFile() SetDatePick() WndCopy() * Nuevas clases documentadas en FwClass.chm: TActiveX TButtonBmp THeader TOutLook2003 TOutLook2003Group TPreview ...
by Antonio Linares
Mon Feb 11, 2008 9:38 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN February / Febrero 2008 (8.02)
Replies: 1
Views: 2721

New FTDN February / Febrero 2008 (8.02)

... xBrwAddColumn() * Updated documentation of functions in FWFun.chm: cTempFile() Ctl3DLook() GetPrintDC() InvalidateRect() MenuMeasureItem() PlayEnhMetaFile() SetDatePick() WndCopy() * New documented Classes in FwClass.chm: TActiveX TButtonBmp THeader TOutLook2003 TOutLook2003Group TPreview ...
by Antonio Linares
Sun Feb 10, 2008 8:18 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN February / Febrero 2008 (8.02)
Replies: 1
Views: 2721

Otto,

The same way you could search for PlayEnhMetaFile() call in source\classes\rpreview.prg and place an optional call there to paint the bitmap after that function call
by Antonio Linares
Thu Nov 29, 2007 4:30 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Printer metafile
Replies: 13
Views: 2551

... a metafile file is very complicated task thats why we should avoid that way. If you review Class TMetaFile Method Paint() you will see a call to PlayEnhMetaFile( ::hDC, ::hMeta, ::hWnd, .f. ). You could paint the bitmap on the ::hDC just after that function call: PlayEnhMetaFile( ::hDC, ::hMeta, ...
by Antonio Linares
Thu Nov 29, 2007 4:15 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Printer metafile
Replies: 13
Views: 2551
Next

Return to advanced search