MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.
procedure ScreenShot(destBitmap : TBitmap) ; var w,h : integer; DC : HDC; hWin : Cardinal; begin hWin := GetForegroundWindow; dc := GetDC(hWin) ; w := 1 ; h := 1 ; try destBitmap.Width := w; destBitmap.Height := h; BitBlt(destBitmap.Canvas.Handle, 0, 0, destBitmap.Width, destBitmap.Height, DC, X, Y, SRCCOPY) ; finally ReleaseDC(hWin, DC) ; end; end;
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.