| 发表于:2007-05-29 09:14:4310楼 得分:0 |
这个问题已经解决了,应用api可以很好的解决这个问题。 private declare function getdc lib "user32 " (byval hwnd as long) as long private declare function stretchblt lib "gdi32 " (byval hdc as long, byval x as long, byval y as long, byval nwidth as long, byval nheight as long, byval hsrcdc as long, byval xsrc as long, byval ysrc as long, byval nsrcwidth as long, byval nsrcheight as long, byval dwrop as long) as long private declare function getdesktopwindow lib "user32 " () as long private declare function getcursorpos lib "user32 " (lppoint as pointapi) as long private declare function getdevicecaps lib "gdi32 " (byval hdc as long, byval nindex as long) as long private const horzres = 8 private const vertres = 10 private type pointapi x as long y as long end type private type rect left as long top as long right as long bottom as long end type | | |
|