vb中能不能调用#RRGGBB颜色输入或输出到textbox中,如果能做,函数怎么写,不能的话,一般用什么写这种颜
vb中能不能调用#RRGGBB颜色输入或输出到textbox中,如果能做,函数怎么写,不能的话,一般用什么写这种颜色函数;我主要想做个用RGB函数输入或点击调色板输入点颜...
vb中能不能调用#RRGGBB颜色输入或输出到textbox中,如果能做,函数怎么写,不能的话,一般用什么写这种颜色函数;我主要想做个用RGB函数输入或点击调色板输入点颜色,转换成这种格式输出。
没人回答个吗............... 展开
没人回答个吗............... 展开
2011-04-20
展开全部
Private Declare Function icePub_getImgfilePColor Lib "icePubDll.dll" (ByVal strImgFilename As String, ByVal x As Integer, ByVal y As Integer, ByVal strR As String, ByVal strG As String, ByVal strB As String, ByVal flag As String) As Integer
Dim a2 As Integer
Dim str1 As String
a2 = icePub_getImgfilePColor("a.jpg",100,55,strR,strG,strB,0)
str1 = "R:"+ strR+ vbCrLf + "G:"+ strG+ vbCrLf + "B:"+ strB
MsgBox str1
http://dl.icese.net/dev.php?f=icePubDll.rar 下载
Dim a2 As Integer
Dim str1 As String
a2 = icePub_getImgfilePColor("a.jpg",100,55,strR,strG,strB,0)
str1 = "R:"+ strR+ vbCrLf + "G:"+ strG+ vbCrLf + "B:"+ strB
MsgBox str1
http://dl.icese.net/dev.php?f=icePubDll.rar 下载
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询