Y ysai Unregistered / Unconfirmed GUEST, unregistred user! 2002-08-17 #2 1、取注册表中桌面图片位置 2、取得桌面画布,用API函数取得桌面的句柄,好象是Get什么的,忘了:)
C cqbaobao Unregistered / Unconfirmed GUEST, unregistred user! 2002-08-17 #3 var dc: HDC; c: TCanvas; begin c := TCanvas.Create; dc := GetDC(0); c.Handle := dc; c.MoveTo(0, 0); c.LineTo(100, 100); ReleaseDC(0, dc); c.Free; end;
var dc: HDC; c: TCanvas; begin c := TCanvas.Create; dc := GetDC(0); c.Handle := dc; c.MoveTo(0, 0); c.LineTo(100, 100); ReleaseDC(0, dc); c.Free; end;