Search found 17 matches: hmeta

Return to advanced search

Re: Calculate total pages

... is pressed, these steps are executed: Best regards, Otto    oDevice := DEVICE   aFiles  := oDevice:aMeta   hMeta   := oMeta1:hMeta    cUniqueID := cUniqueID()       CursorWait()       ...
by Otto
Fri Nov 24, 2023 6:24 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Calculate total pages
Replies: 32
Views: 5849

Re: Recuperar imagen desde campo BLOB

... In the command, the image can be (a) file name, (b) resource name, (c) blob, (d) hBitmap, (e) hMeta, (f) hIcon, (g) pImage, (k) Symbol, (l) FW Shape, (m) web-address of any image or (n) image info read by FW_ReadImage. Image format can be bmp, ...
by nageswaragunupudi
Sat Mar 03, 2018 2:55 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Recuperar imagen desde campo BLOB
Replies: 4
Views: 1145

Re: FWH 1801: Enhancements to TBitmap class

... The function returns an array with relevant information about the image data. The first element can be GDI+ pImage (if opted), hBitmap, hIcon, hMeta, Segoe Symbol. It is desirable (though not essential) to send the entire array as it is to FW_DrawImage( hDC, aBmpInfo, ... )
by nageswaragunupudi
Sun Feb 18, 2018 1:29 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH 1801: Enhancements to TBitmap class
Replies: 7
Views: 1124

New FTDN January/Enero 2018 (FWH 18.01)

... aImageInfo oWnd can be any window, dialog or control. Releasing Image: PalBmpFree( aImageInfo ) aImageInfo format { pImage/hBitmap/hIcon/hCursor/hMeta, hPalette, nWidth, nHeight, lHasAlpha, cSource, lResource ) uSource: Can be (a) any file on disk (b) internet address of an image, (c) Resource ...
by Antonio Linares
Wed Feb 14, 2018 5:03 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN January/Enero 2018 (FWH 18.01)
Replies: 1
Views: 2547

Re: Control Botón de Impresión

Hola Leandro como dice el Maestro Antonio Linares Modifica la clase rpreview METHOD PrintPage() CLASS TPreview local hMeta := ::oMeta1:hMeta local oDlg, oRad, oPageIni, oPageEnd local nOption := 1, nFirst := 1, nLast := Len( ::oDevice:aMeta ) // DEVICE local oThis := Self local lCancel ...
by luisduque
Thu Sep 10, 2015 7:24 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Control Botón de Impresión
Replies: 8
Views: 1423

New FTDN April 2015 (FWH 15.04)

... now accepts windows RECT structue as character buffer, in addition to array or t,l,b,r coordinates. * New function in TMetaFil.prg GETEMFSIZE( hMeta/cMetaFile, [ hDC/lScreen/NIL ], [ @nWidth ], [ @nHeight ] ) --> { nWidth, nHeight } If second parameter is omitted or NIL, width and height ...
by Antonio Linares
Sat Apr 25, 2015 7:44 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN April 2015 (FWH 15.04)
Replies: 6
Views: 3592

Re: La previsualización de un reporte se puede envar por mail?

Armando,

En la clase Rpreview, busca el metodo ::printprv(). Alla es donde se borra los metafiles ->DeleteEnhMetafile( hMeta ). Puedes tratarlo como quiera, p.e. hacer una copia a una carpeta, enviarlos, ... y borrarlos luego claro :-)

Ciao.
C.
by Carles
Fri May 07, 2010 8:34 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: La previsualización de un reporte se puede envar por mail?
Replies: 6
Views: 2088

Re: preview alpha 2

... METHOD PrintPage() CLASS TPreview local hOldRes := GetResources() local hMeta := ::oMeta1:hMeta local oDlg, oRad, oPageIni, oPageFin local nOption := 1, nFirst := 1, nLast := Len( ::oDevice:aMeta ) // DEVICE local oThis ...
by dobfivewin
Thu Jan 14, 2010 10:08 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: preview alpha 2
Replies: 2
Views: 2033

Re: GetPrintDC()

... //----------------------------------------------------------------------------// static function PrintPage() local hOldRes := GetResources() local hMeta := oMeta1:hMeta local oDlg, oRad, oPageIni, oPageFin local nOption := 1 ,; nFirst := 1 ,; nLast := len(DEVICE:aMeta) if nLast == 1 PrintPrv(nil, ...
by jbrita
Tue Nov 24, 2009 11:29 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: GetPrintDC()
Replies: 4
Views: 2707

I also try in Tmetafile class

and I insert it on METHOD Paint() after

if ::hMeta != 0
::shadow()
::smargins()

SetMapmode(.......
by Silvio
Thu May 15, 2008 11:00 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Rpreview Margin
Replies: 11
Views: 1645

... //----------------------------------------------------------------------------// static function PrintPage() local hOldRes := GetResources() local hMeta := oMeta1:hMeta local oDlg, oRad, oPageIni, oPageFin local nOption := 1 ,; nFirst := 1 ,; nLast := len(DEVICE:aMeta) if nLast == 1 PrintPrv(nil, ...
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

EMF Viewer

... METHOD New( cDocument, lUser, lMeta, cModel, lModal, lSelection, cFile ) CONSTRUCTOR METHOD ImportWMF( cFile, lPlaceable ) CLASS TPrinter local hMeta, hOld, hWMF local aData := PrnGetSize( ::hDC ) local aInfo := Array( 5 ) ::cFile := cFile
by Otto
Wed Feb 20, 2008 9:40 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: EMF Viewer
Replies: 1
Views: 632

... METHOD New( cDocument, lUser, lMeta, cModel, lModal, lSelection, cFile ) CONSTRUCTOR METHOD ImportWMF( cFile, lPlaceable ) CLASS TPrinter local hMeta, hOld, hWMF local aData := PrnGetSize( ::hDC ) local aInfo := Array( 5 ) ::cFile := cFile and preview.prg rprinter.prg cTitle := ::oDevice:cFile ...
by Otto
Tue Feb 19, 2008 5:10 pm
 
Forum: FiveWin for CA-Clipper
Topic: How destroy a preview report object
Replies: 11
Views: 3622

... 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, ::hWnd, ...
by Antonio Linares
Thu Nov 29, 2007 4:15 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Printer metafile
Replies: 13
Views: 2551

... it seems that Windows takes some time to close it, even if we force it to do so: ACTIVATE WINDOW sWnd MAXIMIZED ; VALID ( sWndOpen := .f., DeleteEnhMetaFile( oMeta:hMeta ), .t.)
by Antonio Linares
Sat Aug 11, 2007 11:04 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: oMeta difference FW & FWH?
Replies: 24
Views: 4575
Next

Return to advanced search