Solved

FONTID problem with color calculation

Posted on 2009-05-14
11
314 Views
Last Modified: 2013-12-18
I am getting Color byte = 117 after using FontGetColor macro on fontid. But this value doesn't match to any of NOTES_COLOR_XXX. SO how can I calculate the color from FONTID?
In notes peek I can see it is displaying exact color.
SOrry it is for notes 7
0
Comment
Question by:prpradip
  • 6
  • 5
11 Comments
 
LVL 46

Accepted Solution

by:
Sjef Bosman earned 70 total points
ID: 24390900
http://www.keysolutions.com/notesFAQ/cancolor.html

Sadly, I don't know the hex-values for these colors...
0
 

Author Comment

by:prpradip
ID: 24404754
any better way please?
0
 

Author Comment

by:prpradip
ID: 24405715
is there any way to get the color in RGB using color code like 117 (in my case)
0
 
LVL 46

Expert Comment

by:Sjef Bosman
ID: 24405763
0
 

Author Comment

by:prpradip
ID: 24408896
I need a code to convert that the value of color code to real color.
0
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 
LVL 46

Expert Comment

by:Sjef Bosman
ID: 24409610
How about developing it yourself?? And then publish it?

Here's a way: create a screen that contains squares of all possible colour numbers, view it in a browser, use a colour picker to get the RGB values, put it in a table, and use that table in your code.
0
 

Author Comment

by:prpradip
ID: 24418901
Hey I have spent plenty of time to do so without success
0
 
LVL 46

Expert Comment

by:Sjef Bosman
ID: 24419236
0
 

Author Comment

by:prpradip
ID: 24419583
Thank you
Ya, I am spending more time and now begin to stop.
0
 

Author Comment

by:prpradip
ID: 24419862
Finally I found it. It uses the 140 color value index to do so. But I am still not satisfied because I am not getting API or list to do so.
0
 
LVL 46

Assisted Solution

by:Sjef Bosman
Sjef Bosman earned 70 total points
ID: 24419898
Be pragmatic. It is probably hard-coded in Notes, so do the same and document your code well. Or publish (part of) it in some forum.
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

For users on the Lotus Notes 8 Standard client, this article provides information on checking the Java Heap size and adjusting it to half of your system RAM in attempt to get the Lotus Notes 8.x Standard client to run faster.  I've had to exercise t…
I thought it will be a good idea to make a post as it will help in case someone else faces these issues. I trust this gives an idea how each entry in Notes.ini can mean a lot for the Domino Server to be functioning properly. This article discusses t…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now