Private Declare Function GetDC Lib "user32" (ByUal hwnd As Long) As Long
Private Declare Function GetPixel Lib "gdi32" (ByUal hdc As Long,ByUal x As Long,ByUalx y As Long)asLong
以上的代码哪错了,怎么放到VB上显示红色啊 怎么用不了啊 请帮忙看下,并解释下代码的含义,谢谢了
Private Declare Function GetDC Lib "user32" (ByUal hwnd As Long) As Long
Private Declare Function GetPixel Lib "gdi32" (ByUal hdc As Long,ByUal x As Long,ByUalx y As Long)asLong
以上的代码哪错了,怎么放到VB上显示红色啊 怎么用不了啊 请帮忙看下,并解释下代码的含义,谢谢了
Private Declare Function GetPixel Lib "gdi32" (ByUal hdc As Long,ByUal x As Long,ByUalx y As Long) as
Long
有的地方,你没加空格!
Private Declare Function GetDC Lib "user32" (Byval hwnd As Long) As Long
Private Declare Function GetPixel Lib "gdi32" (Byval hdc As Long,ByVal x As Long,ByVal x y As Long)as Long
'
'是关键字打错了,复制这个就行了