Windows works with normal colors and system colors. Visual basic can not handle the system colors and work with them as normal RGB colors. Here's an interesting API I found that translates System Colors to 'normal' colors. I made a little prog arround this to show how it is done. WARNING ! I work with win98 so I don't know if it works with WIN95. If it doesn't, could you please tell me. My adress is: email@example.com The .dll that contains this API is olepro32.dll. Download the zip and find out...
Original Author: stephan swertvaegher
Normal RGB color
Private Declare Function TranslateColor Lib "olepro32.dll" Alias "OleTranslateColor" (ByVal clr As OLE_COLOR, ByVal palet As Long, Col As Long) As Long
About this post
Viewed: 111 times
Posted: 9/3/2020 3:45:00 PM
Size: 2,367 bytes
No comments have been added for this post.
You must be logged in to make a comment.