Hi,
Does anyone know how to grab a screenshot of the desktop (or a portion of it)?
Cheers
Sin
Does anyone know how to grab a screenshot of the desktop (or a portion of it)?
Cheers
Sin
Window:TGadget = CreateWindow("Desktop", 250, 250, ClientWidth(Desktop()), ClientHeight(Desktop())) dsDC = GetDC(QueryGadget(Window, QUERY_HWND_CLIENT)) dhWnd = GetDesktopWindow() BitBlt dsDC, 0, 0, ClientWidth(Desktop()), ClientHeight(Desktop()), GetDC(dhWnd), 0, 0, $00CC0020 Repeat Until WaitEvent() = EVENT_WINDOWCLOSE