Search found 9 matches: getenhmetafile

Return to advanced search

Re: Calculate total pages

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

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: 6384

Re: last source of rpreview

... )   local hBmp := CreateCompatibleBitmap( hDC1, nWidth, nHeight )   local hOldBmp := SelectObject( hDC, hBmp )   local hEMF := GetEnhMetaFile( cEmf )   Rectangle( hDC, 0, 0, nHeight, nWidth )   MyPlayEnhMetaFile( hDC, hEMF, 0, 0, nHeight, nWidth )   CloseEnhMetafile( ...
by Marcelo Via Giglio
Tue Oct 05, 2010 2:37 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: last source of rpreview
Replies: 12
Views: 2726

Re: last source of rpreview

Marcelo,
it seems not so! If I change in function create_minipage() closeenhmetafile(hEMF) to deleteenhmetafile(hEmf) the files are deleted at end of preview. (or getenhmetafile(cFile) not releases the handle from cFile??)
Have you a new version?
by byte-one
Mon Oct 04, 2010 3:54 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: last source of rpreview
Replies: 12
Views: 2726

Re: preview alpha 2

... aFiles[ nFor ] ) 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 ...
by dobfivewin
Thu Jan 14, 2010 10:08 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: preview alpha 2
Replies: 2
Views: 2033

Re: GetPrintDC()

... := GetMetaFile(aFiles[nFor]) 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 ...
by jbrita
Tue Nov 24, 2009 11:29 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: GetPrintDC()
Replies: 4
Views: 2708

... := GetMetaFile(aFiles[nFor]) 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 ...
by Manuel Valdenebro
Thu Feb 28, 2008 4:30 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: RPREVIEW modificada por Manuel Valdenebro ?
Replies: 8
Views: 3370

Antonio Acabo de ordenar e instalar xHB 99.70, el tutor01.prg já me arranca, agora o meu projeto apresenta estes erros : xLINK: error: Unresolved external symbol '_HB_FUN_PEEKBYTE'. xLINK: error: Unresolved external symbol '_HB_FUN__LASTKEY'. xLINK: error: Unresolved external symbol '_HB_FUN_ISWIN64...
by saviotti
Thu May 17, 2007 6:57 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Error ao atualizar para FWH 7.04
Replies: 29
Views: 9901

I have solved the problem

... top, bottom ) CLASS TPrinter Local hMeta,oRect Local aData:=PrnGetSize( ::hDC ) IF ! FILE( cFile ) Return nil Endif SaveDC( ::hDCOut ) hMeta:=GetEnhMetaFile( cFile ) ::SetIsoTropicMode() ::SetWindowExt( aData[1], aData[2] ) ::SetViewPortExt( aData[1], aData[2] ) SetViewOrg( ::hDCOut, -1, -1 ...
by vensanto
Fri Jan 06, 2006 11:37 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How reduce the size of metafile in printer
Replies: 1
Views: 926

Return to advanced search