11 个解决方案
#1
桌面?绘图?
什么意思?
winform?desktop?
什么意思?
winform?desktop?
#2
试试用 Windows API 吧!
#3
牛人.帮顶,盖上去有人给答案我也免费学习....
#4
Declare Auto Function GetDC Lib "user32" (ByVal hwnd As Integer) As IntPtr
Dim p As System.IntPtr = GetDC(0) '取得屏幕
Dim g As Graphics = Graphics.FromHdc(p)
g.DrawRectangle(New Pen(Color.Black), 100, 100, 100, 100)
#5
学习
#6
學習
#7
不行啊,这样只能在form上绘图,我想要在desktop上绘图
----------------------------------------------------------
Declare Auto Function GetDC Lib "user32" (ByVal hwnd As Integer) As IntPtr
Dim p As System.IntPtr = GetDC(0) '取得屏幕
Dim g As Graphics = Graphics.FromHdc(p)
g.DrawRectangle(New Pen(Color.Black), 100, 100, 100, 100)
----------------------------------------------------------
Declare Auto Function GetDC Lib "user32" (ByVal hwnd As Integer) As IntPtr
Dim p As System.IntPtr = GetDC(0) '取得屏幕
Dim g As Graphics = Graphics.FromHdc(p)
g.DrawRectangle(New Pen(Color.Black), 100, 100, 100, 100)
#8
顶顶顶。。学习
#9
//不行啊,这样只能在form上绘图,我想要在desktop上绘图
这是在屏幕上画图,你只要把form最小化,就花在桌面上了
但是只画一次,如果被遮住了,下次再显示就没有了
这是在屏幕上画图,你只要把form最小化,就花在桌面上了
但是只画一次,如果被遮住了,下次再显示就没有了
#10
帮你顶了。
#11
viena(EQ<0)
确实是这样的,谢了:),还有 sx_lxh(路漫漫) ,非常感谢
结贴
确实是这样的,谢了:),还有 sx_lxh(路漫漫) ,非常感谢
结贴
#1
桌面?绘图?
什么意思?
winform?desktop?
什么意思?
winform?desktop?
#2
试试用 Windows API 吧!
#3
牛人.帮顶,盖上去有人给答案我也免费学习....
#4
Declare Auto Function GetDC Lib "user32" (ByVal hwnd As Integer) As IntPtr
Dim p As System.IntPtr = GetDC(0) '取得屏幕
Dim g As Graphics = Graphics.FromHdc(p)
g.DrawRectangle(New Pen(Color.Black), 100, 100, 100, 100)
#5
学习
#6
學習
#7
不行啊,这样只能在form上绘图,我想要在desktop上绘图
----------------------------------------------------------
Declare Auto Function GetDC Lib "user32" (ByVal hwnd As Integer) As IntPtr
Dim p As System.IntPtr = GetDC(0) '取得屏幕
Dim g As Graphics = Graphics.FromHdc(p)
g.DrawRectangle(New Pen(Color.Black), 100, 100, 100, 100)
----------------------------------------------------------
Declare Auto Function GetDC Lib "user32" (ByVal hwnd As Integer) As IntPtr
Dim p As System.IntPtr = GetDC(0) '取得屏幕
Dim g As Graphics = Graphics.FromHdc(p)
g.DrawRectangle(New Pen(Color.Black), 100, 100, 100, 100)
#8
顶顶顶。。学习
#9
//不行啊,这样只能在form上绘图,我想要在desktop上绘图
这是在屏幕上画图,你只要把form最小化,就花在桌面上了
但是只画一次,如果被遮住了,下次再显示就没有了
这是在屏幕上画图,你只要把form最小化,就花在桌面上了
但是只画一次,如果被遮住了,下次再显示就没有了
#10
帮你顶了。
#11
viena(EQ<0)
确实是这样的,谢了:),还有 sx_lxh(路漫漫) ,非常感谢
结贴
确实是这样的,谢了:),还有 sx_lxh(路漫漫) ,非常感谢
结贴