Click here to Skip to main content
15,924,507 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Programmers week! Pin
ASchunk22-Sep-03 9:27
ASchunk22-Sep-03 9:27 
GeneralMaking an interactive periodic table of the elements using VC++ Pin
b_girl22-Sep-03 8:38
b_girl22-Sep-03 8:38 
GeneralRe: Making an interactive periodic table of the elements using VC++ Pin
Terry O'Nolley22-Sep-03 9:32
Terry O'Nolley22-Sep-03 9:32 
GeneralRe: Making an interactive periodic table of the elements using VC++ Pin
b_girl22-Sep-03 9:41
b_girl22-Sep-03 9:41 
GeneralRe: Making an interactive periodic table of the elements using VC++ Pin
Terry O'Nolley22-Sep-03 12:58
Terry O'Nolley22-Sep-03 12:58 
GeneralRe: Making an interactive periodic table of the elements using VC++ Pin
Joaquín M López Muñoz22-Sep-03 10:33
Joaquín M López Muñoz22-Sep-03 10:33 
GeneralRe: Making an interactive periodic table of the elements using VC++ Pin
act_x22-Sep-03 11:02
act_x22-Sep-03 11:02 
GeneralRe: Making an interactive periodic table of the elements using VC++ Pin
Jason Henderson22-Sep-03 11:05
Jason Henderson22-Sep-03 11:05 
Make a blank template bmp of the elements table.
Fill each box with a unique color and save it.
Create an array of elements and their unique color.
Then make a real bitmap of the elements table using your template and save it.

Show the real bitmap on the window and capture each mouse click's location (point). Take the coordinates of the click on the real bitmap and get the unique color at that location on the saved template bitmap.
Find the color in your elements array and that's the element you clicked on.


"It is better to remain silent and be thought a fool than to open one's mouth and remove all doubt." - Abraham Lincoln
Jason Henderson
blog | articles

GeneralRe: Making an interactive periodic table of the elements using VC++ Pin
Terry O'Nolley22-Sep-03 13:29
Terry O'Nolley22-Sep-03 13:29 
GeneralRe: Making an interactive periodic table of the elements using VC++ Pin
Jason Henderson22-Sep-03 16:18
Jason Henderson22-Sep-03 16:18 
GeneralRe: Making an interactive periodic table of the elements using VC++ Pin
Terry O'Nolley22-Sep-03 16:41
Terry O'Nolley22-Sep-03 16:41 
GeneralRe: Making an interactive periodic table of the elements using VC++ Pin
Jason Henderson22-Sep-03 17:01
Jason Henderson22-Sep-03 17:01 
GeneralRe: Making an interactive periodic table of the elements using VC++ Pin
Terry O'Nolley22-Sep-03 17:14
Terry O'Nolley22-Sep-03 17:14 
GeneralRe: Making an interactive periodic table of the elements using VC++ Pin
b_girl23-Sep-03 3:09
b_girl23-Sep-03 3:09 
GeneralRe: Making an interactive periodic table of the elements using VC++ Pin
Jason Henderson25-Sep-03 9:04
Jason Henderson25-Sep-03 9:04 
GeneralRe: Making an interactive periodic table of the elements using VC++ Pin
b_girl25-Sep-03 9:24
b_girl25-Sep-03 9:24 
GeneralRe: Making an interactive periodic table of the elements using VC++ Pin
Jason Henderson25-Sep-03 9:48
Jason Henderson25-Sep-03 9:48 
GeneralRe: Making an interactive periodic table of the elements using VC++ Pin
b_girl25-Sep-03 9:53
b_girl25-Sep-03 9:53 
GeneralRe: Making an interactive periodic table of the elements using VC++ Pin
Jason Henderson25-Sep-03 10:48
Jason Henderson25-Sep-03 10:48 
Questionwhat is the ? thingy called? Pin
keegan22-Sep-03 8:27
keegan22-Sep-03 8:27 
AnswerRe: what is the ? thingy called? Pin
ZoogieZork22-Sep-03 8:32
ZoogieZork22-Sep-03 8:32 
AnswerRe: what is the ? thingy called? Pin
Michael Dunn22-Sep-03 9:04
sitebuilderMichael Dunn22-Sep-03 9:04 
GeneralRe: what is the ? thingy called? Pin
keegan22-Sep-03 9:15
keegan22-Sep-03 9:15 
GeneralRe: what is the ? thingy called? Pin
Michael Dunn22-Sep-03 11:03
sitebuilderMichael Dunn22-Sep-03 11:03 
AnswerRe: what is the ? thingy called? Pin
22-Sep-03 9:19
suss22-Sep-03 9:19 

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.