Hi,
For a documention-program that create excel-files with drawings I open a window, draw lines en text on in and save it to a bmp-file to create bmp-files.
The program show it on the screen. Is it possible to do this without showing it? Sometimes, I want to create more then 10000 BMP-files, and I think showing them slow down the generation.
I use now something like this for each file in a loop:
The function _toonds(vnr,vnrvar) drow text, lines, polygons,... on the window.
Thanks,
Marc
For a documention-program that create excel-files with drawings I open a window, draw lines en text on in and save it to a bmp-file to create bmp-files.
The program show it on the screen. Is it possible to do this without showing it? Sometimes, I want to create more then 10000 BMP-files, and I think showing them slow down the generation.
I use now something like this for each file in a loop:
DEFINE WINDOW sWnd TITLE 'SCHEMATIC : '+infoall->filenaam FROM 0,0 TO 416,640 PIXEL BORDER NONE NOSYSMENU NOICONIZE NOCAPTION
sWnd:bPainted := { || _toonds(vnr,vnrvar)}
ACTIVATE WINDOW sWnd
sWnd:SaveToBmp( alltrim(infoall->voorbeeld) )
sWnd:end()The function _toonds(vnr,vnrvar) drow text, lines, polygons,... on the window.
Thanks,
Marc
Regards,
Marc
FWH32+xHarbour | FWH64+Harbour | BCC | DBF | ADO+MySQL | ADO+MariaDB | ADO+SQLite
Marc
FWH32+xHarbour | FWH64+Harbour | BCC | DBF | ADO+MySQL | ADO+MariaDB | ADO+SQLite