PHP код:
function PrintWindow(hwnd: HWND; hdcBlt: HDC; nFlags: UINT): BOOL; stdcall; external user32;
function GetWindowBitmap(hw: HWND): TBitmap; var wHeight, wWidth: word; rect: TRect; begin Result:= nil; if GetWindowRect(hw, rect) then begin Result:= TBitmap.Create; wWidth:= rect.Right - rect.Left; wHeight:= rect.Bottom - rect.Top; Result.Width:= wWidth; Result.Height:= wHeight; PrintWindow(hw, Result.Canvas.Handle, 0); end; end;
__________________
Продажа чистых аккаунтов 4G, L2 EU, AARu, AA EU, Aion EU, Tera RU, Tera EU (ICQ 594297609)
Продажа VK авторег аккаунтов (ICQ 594297609)
Последний раз редактировалось Yegor, 13.06.2012 в 00:36.
|