Click here to Skip to main content
15,922,325 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Maple !!! Help !!! Pin
tankhoasp7-Oct-03 5:58
tankhoasp7-Oct-03 5:58 
GeneralDirectory Selection Pin
PhotoMike6-Oct-03 11:44
PhotoMike6-Oct-03 11:44 
GeneralRe: Directory Selection Pin
Rickard Andersson206-Oct-03 12:04
Rickard Andersson206-Oct-03 12:04 
GeneralCRichEditCtrl and Drawing Fonts Pin
Larry J. Siddens6-Oct-03 10:56
Larry J. Siddens6-Oct-03 10:56 
GeneralRe: CRichEditCtrl and Drawing Fonts Pin
Larry J. Siddens7-Oct-03 3:46
Larry J. Siddens7-Oct-03 3:46 
GeneralI can cause VC6's compiler to fail in... Pin
Ravi Bhavnani6-Oct-03 9:27
professionalRavi Bhavnani6-Oct-03 9:27 
GeneralRe: I can cause VC6's compiler to fail in... Pin
Abin6-Oct-03 14:13
Abin6-Oct-03 14:13 
GeneralRe: I can cause VC6's compiler to fail in... Pin
Ravi Bhavnani6-Oct-03 14:50
professionalRavi Bhavnani6-Oct-03 14:50 
GeneralRe: I can cause VC6's compiler to fail in... Pin
Abin6-Oct-03 16:20
Abin6-Oct-03 16:20 
GeneralRe: I can cause VC6's compiler to fail in... Pin
Chris Richardson6-Oct-03 17:04
Chris Richardson6-Oct-03 17:04 
GeneralC1010 Error Pin
Mad Docs Hairy Belly6-Oct-03 9:14
Mad Docs Hairy Belly6-Oct-03 9:14 
GeneralRe: C1010 Error Pin
David Crow6-Oct-03 10:45
David Crow6-Oct-03 10:45 
GeneralRe: C1010 Error Pin
Mad Docs Hairy Belly7-Oct-03 11:11
Mad Docs Hairy Belly7-Oct-03 11:11 
GeneralRe: C1010 Error Pin
David Crow8-Oct-03 2:34
David Crow8-Oct-03 2:34 
GeneralCEdit control scroll bar problem Pin
haritadala6-Oct-03 8:53
haritadala6-Oct-03 8:53 
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 

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.