OK, thanks. But after trying to write the target_map in a file it contains the bmap of the panel.
What is wrong with my code?

Code:
BMAP* rendermap = "#1024x768x32";
test_txt.target_map=effekt_pan.bmap;
wait(1);
	
bmap_blit (rendermap,test_txt.target_map, NULL, NULL);
bmap_save(rendermap,"result.bmp");




Gamestudio: A7.82 Commercial/A8 Commercial
System specs (Laptop):
Windows 7 64bit
DirectX v10.1
Intel Core i7-720QM CPU @ 1,60 GHz
4GB DDR2 Ram
NVIDIA GeForce GT 230M (1024MB)