A window with a metafile

A window with a metafile

Postby Silvio » Sun Oct 22, 2006 11:19 pm

I want create a metafile into a window but it not found oDevice and nHorzRes() and nVertRes()


How I can create it on a window ?

this my test

Code: Select all  Expand view
Function test()
Local oWnd,oTest

DEFINE WINDOW oWnd COLOR CLR_BLACK, CLR_HGRAY ;
VSCROLL HSCROLL

oTest:=TMetaFile():New( 0,0,0,0,"",;
                  oWnd,CLR_BLACK,CLR_WHITE,oDevice:nHorzRes(),;
                  oDevice:nVertRes() )

ACTIVATE WINDOW oWnd
Best Regards, Saludos

Falconi Silvio
User avatar
Silvio
 
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 53 guests

cron