- 积分
- 5359
- 明经币
- 个
- 注册时间
- 2004-7-13
- 在线时间
- 小时
- 威望
-
- 金钱
- 个
- 贡献
-
- 激情
-
|
发表于 2004-9-30 09:58:00
|
显示全部楼层
Private Declare Function acedSetColorDialog Lib _ "acad.exe" (color As Long, ByVal bAllowMetaColor _ As Boolean, ByVal nCurLayerColor As Long) As Boolean
Public Function ChooseColor(ByVal lngInitClr As Long, _ ByVal blnMetaColor As Boolean, _ ByVal lngCurClr As Long) As Long ChooseColor = -1 On Error Resume Next If acedSetColorDialog(lngInitClr, blnMetaColor, lngCurClr) Then ChooseColor = lngInitClr End If On Error GoTo 0 End Function |
评分
-
查看全部评分
|