Howto copy window content
BlitzMax Forums/BlitzMax Programming/Howto copy window content
| ||
Hi, is it somehow possible to readout the content of another window (i have its handle) and draw it on my bm screen? For example ist it possible to read out the content of the desktop and past it into my window? |
| ||
have a look at win32's Region Functions, ive added a list of the function's to help. CombineRgn CreateEllipticRgn CreateEllipticRgnIndirect CreatePolygonRgn CreatePolyPolygonRgn CreateRectRgn CreateRectRgnIndirect CreateRoundRectRgn EqualRgn ExtCreateRegion FillRgn FrameRgn GetPolyFillMode GetRegionData GetRgnBox InvertRgn OffsetRgn PaintRgn PtInRegion RectInRegion SetPolyFillMode kev |
| ||
Ok, if i get the regio of the other window and the data in it. How can i transfer this graphic into an image or something similar, so i can paste it into the backbuffer of my application and do a flip to show it. |