Click here to Skip to main content
15,905,867 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CEdit control scroll bar problem Pin
Johann Gerell6-Oct-03 10:53
Johann Gerell6-Oct-03 10:53 
GeneralRe: CEdit control scroll bar problem Pin
haritadala6-Oct-03 11:55
haritadala6-Oct-03 11:55 
GeneralODBC issues?? (General error.syntax error) Pin
OARH6-Oct-03 8:49
sussOARH6-Oct-03 8:49 
GeneralRe: ODBC issues?? (General error.syntax error) Pin
Richard Jones7-Oct-03 3:26
Richard Jones7-Oct-03 3:26 
QuestionPopup menu items rect ? Pin
Member 550206-Oct-03 7:15
Member 550206-Oct-03 7:15 
AnswerRe: Popup menu items rect ? Pin
Terry O'Nolley6-Oct-03 11:25
Terry O'Nolley6-Oct-03 11:25 
GeneralRe: Popup menu items rect ? Pin
Member 550206-Oct-03 13:34
Member 550206-Oct-03 13:34 
GeneralUsing a bitmap created with ms paint Pin
b_girl6-Oct-03 7:03
b_girl6-Oct-03 7:03 
Hey...

I have yet another bitmap question. I used MS Paint to create a bitmap, and I recorded the red, green and blue intensities for each colour I used. In my program, I take these intensities and turn it into COLORREF, using RGB(r,g,b). Later on, after the user clicks on part of the bitmap, I determine where the click occurred and what the colour is at that point using GetPixel(..). The COLORREF value returned by GetPixel never matches the original COLORREF value. I have tried re-doing the colours (once again, in ms paint) but it still doesn't work. Are the values that ms paint uses for r g b the same throughout everything?
GeneralRe: Using a bitmap created with ms paint Pin
Jason Henderson6-Oct-03 10:48
Jason Henderson6-Oct-03 10:48 
GeneralRe: Using a bitmap created with ms paint Pin
b_girl7-Oct-03 3:21
b_girl7-Oct-03 3:21 
GeneralRe: Using a bitmap created with ms paint Pin
Jason Henderson7-Oct-03 3:54
Jason Henderson7-Oct-03 3:54 
GeneralRe: Using a bitmap created with ms paint Pin
b_girl7-Oct-03 4:23
b_girl7-Oct-03 4:23 
GeneralRe: Using a bitmap created with ms paint Pin
Jason Henderson7-Oct-03 4:43
Jason Henderson7-Oct-03 4:43 
GeneralRe: Using a bitmap created with ms paint Pin
b_girl7-Oct-03 6:39
b_girl7-Oct-03 6:39 
GeneralRe: Using a bitmap created with ms paint Pin
Jason Henderson7-Oct-03 6:54
Jason Henderson7-Oct-03 6:54 
GeneralRe: Using a bitmap created with ms paint Pin
b_girl7-Oct-03 7:57
b_girl7-Oct-03 7:57 
GeneralRe: Using a bitmap created with ms paint Pin
Jason Henderson7-Oct-03 8:49
Jason Henderson7-Oct-03 8:49 
GeneralRe: Using a bitmap created with ms paint Pin
b_girl7-Oct-03 9:51
b_girl7-Oct-03 9:51 
GeneralRe: Using a bitmap created with ms paint Pin
Jason Henderson7-Oct-03 10:13
Jason Henderson7-Oct-03 10:13 
GeneralRe: Using a bitmap created with ms paint Pin
Terry O'Nolley6-Oct-03 11:17
Terry O'Nolley6-Oct-03 11:17 
GeneralReturn to the VC++ debugger Pin
Richard Jones6-Oct-03 6:58
Richard Jones6-Oct-03 6:58 
GeneralRe: Return to the VC++ debugger Pin
Steve S6-Oct-03 7:05
Steve S6-Oct-03 7:05 
GeneralRe: Return to the VC++ debugger Pin
Michael Dunn6-Oct-03 9:46
sitebuilderMichael Dunn6-Oct-03 9:46 
GeneralRe: Return to the VC++ debugger Pin
Chris Richardson6-Oct-03 17:13
Chris Richardson6-Oct-03 17:13 
GeneralRe: Return to the VC++ debugger Pin
Steve S6-Oct-03 22:37
Steve S6-Oct-03 22:37 

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.