http://bbs.csdn.net/topics/390237444
// clickzuobiao
hWindow := GetWindow(WebBrowser1.Handle , GW_CHILD);
h := GetWindow(hWindow, GW_CHILD);
if h<>0 then hWindow := H;
Canvas := TCanvas.Create;
DC := GetDC(hWindow);
Canvas.Handle := DC;
//使用Canvas作事
// Self.Canvas.CopyRect(Rect(0,0,200,200) , Canvas , Rect(50,50,250,250));
self.Image1.Canvas.CopyRect(Rect(0,0,200,200) , Canvas , Rect(50,50,250,250)) ;
//释放
ReleaseDC(hWindow , DC);
Canvas.Free;
-------------------------------------------------------------------------
delphi lazarus opengl
网页操作自动化, 图像分析破解,游戏开发