Click here to Skip to main content
15,897,371 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Determine when I am connected on LAN Pin
Alexander M.,3-Oct-03 7:41
Alexander M.,3-Oct-03 7:41 
GeneralRe: Determine when I am connected on LAN Pin
Alan Martinis3-Oct-03 7:45
Alan Martinis3-Oct-03 7:45 
GeneralRe: Determine when I am connected on LAN Pin
pma3-Oct-03 7:54
pma3-Oct-03 7:54 
GeneralRe: Determine when I am connected on LAN Pin
Alan Martinis3-Oct-03 8:07
Alan Martinis3-Oct-03 8:07 
GeneralRe: Determine when I am connected on LAN Pin
pma3-Oct-03 8:51
pma3-Oct-03 8:51 
GeneralClickable Bitmap UI question Pin
b_girl3-Oct-03 3:58
b_girl3-Oct-03 3:58 
GeneralRe: Clickable Bitmap UI question Pin
Jason Henderson3-Oct-03 5:12
Jason Henderson3-Oct-03 5:12 
GeneralRe: Clickable Bitmap UI question Pin
b_girl3-Oct-03 5:37
b_girl3-Oct-03 5:37 
Thanks. That didn't really change anything though. I was using those files you sent me before as a reference. You know how you made those periodic table bitmaps? I was just reading in the colours that you had in that exel file you sent along with the bitmaps, should I go through and re-do the template bitmap along with the colour values in that excel file in order to make it set up as r, g, b not just a single colour value? I put this in thinking it would work, but maybe that's where my problem is actually coming from:

//get the colour value from the string read in from the file
cstrInfo = breakString(cstrLine, &strPos);
int intColour = atoi(cstrInfo);

r = GetRValue(intColour);
g = GetGValue(intColour);
b = GetBValue(intColour);

//SetColour takes COLORREF as it's parameter
BmpItem.SetColour(RGB(r,g,b));

the value of crColourAtPoint is always soo much more than the value returned by the GetColour function (which is COLORREF)
GeneralRe: Clickable Bitmap UI question Pin
Jason Henderson3-Oct-03 5:45
Jason Henderson3-Oct-03 5:45 
GeneralRe: Clickable Bitmap UI question Pin
b_girl3-Oct-03 5:57
b_girl3-Oct-03 5:57 
GeneralRe: Clickable Bitmap UI question Pin
Jason Henderson3-Oct-03 6:01
Jason Henderson3-Oct-03 6:01 
GeneralRe: Clickable Bitmap UI question Pin
b_girl3-Oct-03 6:40
b_girl3-Oct-03 6:40 
GeneralRe: Clickable Bitmap UI question Pin
Jason Henderson3-Oct-03 6:44
Jason Henderson3-Oct-03 6:44 
GeneralRe: Clickable Bitmap UI question Pin
b_girl3-Oct-03 7:07
b_girl3-Oct-03 7:07 
GeneralRe: Clickable Bitmap UI question Pin
Terry O'Nolley3-Oct-03 8:57
Terry O'Nolley3-Oct-03 8:57 
GeneralRe: Clickable Bitmap UI question Pin
b_girl3-Oct-03 9:05
b_girl3-Oct-03 9:05 
QuestionHow to make a Dialog box Pop up on receiving a event Pin
Deepak Samuel3-Oct-03 3:12
Deepak Samuel3-Oct-03 3:12 
AnswerRe: How to make a Dialog box Pop up on receiving a event Pin
jmkhael3-Oct-03 3:18
jmkhael3-Oct-03 3:18 
AnswerRe: How to make a Dialog box Pop up on receiving a event Pin
David Crow3-Oct-03 7:22
David Crow3-Oct-03 7:22 
Generalconnect or disconnect ADSL Pin
Mnu3-Oct-03 2:01
Mnu3-Oct-03 2:01 
GeneralCouple question about Dialog in MFC Pin
NewHSKid3-Oct-03 1:35
NewHSKid3-Oct-03 1:35 
GeneralRe: Couple question about Dialog in MFC Pin
Jagadeesh VN3-Oct-03 1:58
Jagadeesh VN3-Oct-03 1:58 
GeneralB, I, U Pin
Florin Ochiana3-Oct-03 1:33
Florin Ochiana3-Oct-03 1:33 
GeneralRe: B, I, U Pin
Jagadeesh VN3-Oct-03 1:52
Jagadeesh VN3-Oct-03 1:52 
Generalhandling abnormal termination Pin
yourbuddy773-Oct-03 0:49
yourbuddy773-Oct-03 0:49 

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.