How I can create it on a window ?
this my test
Code: Select all
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