VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

TranslateColor

stephane swertvaegher  (20 Submissions)   Windows API Call/Explanation   Visual Basic 3.0   Intermediate   Wed 3rd February 2021

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 protected] The .dll that contains this API is olepro32.dll. Download the zip and find out...

Inputs
System Color

Returns
Normal RGB color

API Declarations
Private Declare Function TranslateColor Lib "olepro32.dll" Alias "OleTranslateColor" (ByVal clr As OLE_COLOR, ByVal palet As Long, Col As Long) As Long

Rate TranslateColor (4(4 Vote))

Download TranslateColor

TranslateColor Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters