Click here to Skip to main content
15,916,215 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalftp without internet Pin
kamal_bahadur27-Nov-03 16:44
kamal_bahadur27-Nov-03 16:44 
GeneralRe: ftp without internet Pin
Prakash Nadar27-Nov-03 17:23
Prakash Nadar27-Nov-03 17:23 
GeneralRe: ftp without internet Pin
Anonymous28-Nov-03 5:47
Anonymous28-Nov-03 5:47 
General8254 Pin
FlyingDancer27-Nov-03 15:08
FlyingDancer27-Nov-03 15:08 
GeneralNeed help in how to read files... Pin
Snyp27-Nov-03 12:06
Snyp27-Nov-03 12:06 
GeneralRe: Need help in how to read files... Pin
Christian Graus27-Nov-03 12:27
protectorChristian Graus27-Nov-03 12:27 
GeneralBitmap file search Pin
John R. Shaw27-Nov-03 11:30
John R. Shaw27-Nov-03 11:30 
Questionwhat is the diff between String and string? Pin
mitil2039048230427-Nov-03 10:20
mitil2039048230427-Nov-03 10:20 
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 

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.