Re: saving to bitmap files
- Posted by DanM Jan 11, 2009
- 882 views
Does wxEuphoria's save_bitmap allow saving a window as a bitmap?? As I look at the wxEuphoria doc, it doesn't seem to, though I'm not sure & there's no demo for that.
I'm pretty sure the Win32Lib function does scan & save a window, and that's what I'm interested in.
Looks like it would need some extra work to do this. I think if we wrapped wxScreenDC, then you could use that in combination with wxWindow::GetScreenRect to blit out the part of the screen you wanted to your own image.
Matt
So even with the future wrap, still couldn't just specify to get or scan a specified window, would have to programatically figure where a window was on the screen, making sure not to get any title bar or menu content, in order to get the window's desired content put into .bmp file?
Dan