Click here to Skip to main content
15,895,084 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: what is the diff between String and string? Pin
Christian Graus27-Nov-03 10:22
protectorChristian Graus27-Nov-03 10:22 
GeneralRe: what is the diff between String and string? Pin
mitil2039048230427-Nov-03 10:33
mitil2039048230427-Nov-03 10:33 
GeneralRe: what is the diff between String and string? Pin
Christian Graus27-Nov-03 10:37
protectorChristian Graus27-Nov-03 10:37 
GeneralIWebBrowser2->Stop(): annoying "click" Pin
peterchen27-Nov-03 10:06
peterchen27-Nov-03 10:06 
Generalclickable bitmap colour problems Pin
b_girl27-Nov-03 7:49
b_girl27-Nov-03 7:49 
GeneralRe: clickable bitmap colour problems Pin
Maximilien27-Nov-03 8:51
Maximilien27-Nov-03 8:51 
GeneralRe: clickable bitmap colour problems Pin
b_girl27-Nov-03 9:22
b_girl27-Nov-03 9:22 
GeneralRe: clickable bitmap colour problems Pin
Big Art27-Nov-03 9:21
Big Art27-Nov-03 9:21 
I would agree with Maximilien in that there is a better way to go.

But first the problem you are experiencing is caused by the fact you are saving the image in photoshop as a full RGB color range of 24 bits. When you go to display it on a system that cannot support that color range, the colors are down converted to the displays setting range (16 bit in this case). The solution is to save the image in Photoshop using smaller palatte. Try using Image->Mode->Index color on the menu and save to a 256 color system palatte to get you image colors downselected.

Back to your method... I would suggest you look at an article submitted last month here in CodeProject. I can't remember the name of the author but the program name was something like "Periodic Table" or PTE table.. where the author used some very good techniques to accomplish the same task of locating the periodic table element from the mouse position.

Hope this helps.

Art

GeneralRe: clickable bitmap colour problems Pin
b_girl27-Nov-03 9:28
b_girl27-Nov-03 9:28 
GeneralRe: clickable bitmap colour problems Pin
Big Art27-Nov-03 10:49
Big Art27-Nov-03 10:49 
GeneralRe: clickable bitmap colour problems Pin
b_girl2-Dec-03 8:47
b_girl2-Dec-03 8:47 
GeneralRe: clickable bitmap colour problems Pin
Mike Dimmick27-Nov-03 9:26
Mike Dimmick27-Nov-03 9:26 
GeneralCFileDialog - Reset the last configuration Pin
Denislef27-Nov-03 5:55
Denislef27-Nov-03 5:55 
GeneralActiveX Problem Pin
Java2C#27-Nov-03 5:14
Java2C#27-Nov-03 5:14 
QuestionMost optimized way to reverse a string? Pin
melwyn27-Nov-03 4:38
melwyn27-Nov-03 4:38 
AnswerRe: Most optimized way to reverse a string? Pin
Anonymous27-Nov-03 5:13
Anonymous27-Nov-03 5:13 
GeneralRe: Most optimized way to reverse a string? Pin
melwyn27-Nov-03 5:24
melwyn27-Nov-03 5:24 
AnswerRe: Most optimized way to reverse a string? Pin
Ian Darling27-Nov-03 5:37
Ian Darling27-Nov-03 5:37 
AnswerRe: Most optimized way to reverse a string? Pin
Mike Dimmick27-Nov-03 6:23
Mike Dimmick27-Nov-03 6:23 
GeneralRe: Most optimized way to reverse a string? Pin
Obliterator27-Nov-03 6:39
Obliterator27-Nov-03 6:39 
GeneralRe: Most optimized way to reverse a string? Pin
melwyn28-Nov-03 0:08
melwyn28-Nov-03 0:08 
AnswerRe: Most optimized way to reverse a string? Pin
фил4-Dec-03 21:57
фил4-Dec-03 21:57 
GeneralRe: Most optimized way to reverse a string? Pin
melwyn7-Dec-03 20:08
melwyn7-Dec-03 20:08 
Questionwitch message? Pin
willempipi27-Nov-03 4:33
willempipi27-Nov-03 4:33 
AnswerRe: witch message? Pin
Johnny ²27-Nov-03 4:54
Johnny ²27-Nov-03 4:54 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.