Search found 8 matches: getmetafile

Searched query: getmetafile

by Antonio Linares
Fri Jan 17, 2025 11:09 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Using new Class TDeepSeek for documenting
Replies: 29
Views: 4831

Re: Using new Class TDeepSeek for documenting

... Description**: Retrieves Unicode text from the clipboard.
- **Returns**: The retrieved Unicode text, converted to UTF-8 if necessary.

17. **`GetMetaFile()`**:
- **Description**: Retrieves a metafile from the clipboard.
- **Returns**: The handle to the metafile if successful, `0` otherwise.

18 ...
by ricardog
Thu Aug 31, 2017 2:56 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda DLL
Replies: 24
Views: 8577

Re: Ayuda DLL

... Error: Unresolved external '_HB_FUN_DELETEENHMETAFILE' referenced from P:\32BITS\FWH\LIB\FIVEHX.LIB|TMETAFIL
Error: Unresolved external '_HB_FUN_GETMETAFILE' referenced from P:\32BITS\FWH\LIB\FIVEHX.LIB|TMETAFIL
Error: Unresolved external '_HB_FUN_GLOBALALLOC' referenced from P:\32BITS\FWH\LIB\FIVEHX ...
by Romeo
Wed Jan 20, 2016 4:59 pm
Forum: All products support
Topic: wmf2emf problemi in compilazione
Replies: 0
Views: 773

wmf2emf problemi in compilazione

... include "Windows.h"
#include "HbApi.h"
#include "ClipApi.h"

#include <windows.h>


HB_FUNC( WMFTOEMF ) // ( cWmf, cEmf )
{
HMETAFILE hWMF = GetMetaFile( hb_parc( 1 ) );

UINT nSize = GetMetaFileBitsEx( hWMF, 0, NULL );

LPVOID lpvData = HeapAlloc( GetProcessHeap(), HEAP_ZERO_MEMORY, nSize ...
by Cgallegoa
Sun Feb 21, 2010 10:35 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Se necesita ayuda en el wiki !
Replies: 12
Views: 6090

Re: Se necesita ayuda en el wiki !

... GethWnd32()
GetInstance()
GetIP()
GetKeyStat()
GetKeyToggle()
GetLocal()
GetMapMode()
GetMDIChlP()
GetMeaItem()
GetMenuState()
GetMetaBit()
GetMetaFile()
GetMItemId()
GetModuleFileName()
GetNextInZip()
GetNumTask()
GetOrdNames()
GetParam()
GetParent()
GetPeerName()
GetPixel()
Getport ...
by dobfivewin
Thu Jan 14, 2010 10:08 am
Forum: FiveWin para Harbour/xHarbour
Topic: preview alpha 2
Replies: 2
Views: 2173

Re: preview alpha 2

... cDocument )

do case

case nOption == 1 // All

for nFor := 1 to Len( aFiles )
#ifdef __CLIPPER__
StartPage( oDevice:hDC )
hMeta := GetMetaFile( aFiles[ nFor ] )
PlayMetaFile( oDevice:hDC, hMeta )
DeleteMetafile( hMeta )
EndPage( oDevice:hDC )
#else
StartPage( oDevice:hDC )
hMeta ...
by jbrita
Tue Nov 24, 2009 11:29 pm
Forum: FiveWin para Harbour/xHarbour
Topic: GetPrintDC()
Replies: 4
Views: 2952

Re: GetPrintDC()

... hDC, oDevice:cDocument )

DO case

case nOption == 1 // All

FOR nFor := 1 TO len(aFiles)
#ifdef __CLIPPER__
StartPage(oDevice:hDC)
hMeta := GetMetaFile(aFiles[nFor])
PlayMetaFile( oDevice:hDC, hMeta )
DeleteMetafile(hMeta)
EndPage(oDevice:hDC)
#else
StartPage(oDevice:hDC)
hMeta := GetEnhMetaFile ...
by Manuel Valdenebro
Thu Feb 28, 2008 4:30 am
Forum: FiveWin para Harbour/xHarbour
Topic: RPREVIEW modificada por Manuel Valdenebro ?
Replies: 8
Views: 3759

... oDevice:cDocument )

DO case

case nOption == 1 // All

FOR nFor := 1 TO len(aFiles)
#ifdef __CLIPPER__
StartPage(oDevice:hDC)
hMeta := GetMetaFile(aFiles[nFor])
PlayMetaFile( oDevice:hDC, hMeta )
DeleteMetafile(hMeta)
EndPage(oDevice:hDC)
#else
StartPage(oDevice:hDC)
hMeta ...
by yury
Fri Aug 31, 2007 2:30 pm
Forum: FiveWin for Harbour/xHarbour
Topic: MetaFile to ClipBoard
Replies: 4
Views: 2098

... for your suport...

Folowing your instructions, i add the method SetMetaFile() on TClipBoard class...

By suposition, i created another method, GetMetaFile():



method GetMetaFile&#40;&#41;

local hMetaFile &#58;= 0

if &#58;&#58;Open&#40;&#41;
hMetaFile = GetClpData&#40; CF_ENHMETAFILE &#41 ...