Search Tools Links Login

TranslateColor


Visual Basic 6, or VB Classic

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: stephan.swertvaegher@planetinternet.be The .dll that contains this API is olepro32.dll. Download the zip and find out...

Original Author: stephan swertvaegher

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

About this post

Posted: 2002-06-01
By: ArchiveBot
Viewed: 127 times

Categories

Visual Basic 6

Attachments

CODE_UPLOAD91528202000.zip
Posted: 9/3/2020 3:45:00 PM
Size: 2,367 bytes


Loading Comments ...

Comments

No comments have been added for this post.

You must be logged in to make a comment.