Click here to Skip to main content
15,914,419 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: #include "everything.h" Pin
Jamie Hale7-Nov-01 4:23
Jamie Hale7-Nov-01 4:23 
GeneralRe: #include "everything.h" Pin
Tomasz Sowinski7-Nov-01 7:19
Tomasz Sowinski7-Nov-01 7:19 
GeneralRe: #include "everything.h" Pin
Jamie Hale7-Nov-01 7:51
Jamie Hale7-Nov-01 7:51 
GeneralRe: #include "everything.h" Pin
Tomasz Sowinski7-Nov-01 8:12
Tomasz Sowinski7-Nov-01 8:12 
GeneralRe: #include "everything.h" Pin
Mukkie7-Nov-01 9:30
Mukkie7-Nov-01 9:30 
Generalread the color Pin
6-Nov-01 8:58
suss6-Nov-01 8:58 
GeneralRe: read the color Pin
Nish Nishant6-Nov-01 9:08
sitebuilderNish Nishant6-Nov-01 9:08 
GeneralRe: read the color Pin
Christian Graus6-Nov-01 10:07
protectorChristian Graus6-Nov-01 10:07 
GetPixel will work but it is very slow and should not be used in tight loops or real time situations. In those circumstances you should keep the bitmap in memory as a DIBSection ( this site has DIBSection classes in the bitmaps section, a DIBSection is like a CBitmap in that you can select it into a DC and draw it/draw onto it, but you also have access to the individual bits in a BYTE array ). This will mean converting from the mouse co-ordinates to the co-ordinates in the bitmap, but this is far less expensive than GetPixel.


Christian

After all, there's nothing wrong with an elite as long as I'm allowed to be part of it!! - Mike Burston Oct 23, 2001

GeneralReboot windows 95 machines Pin
RobJones6-Nov-01 8:54
RobJones6-Nov-01 8:54 
GeneralRe: Reboot windows 95 machines Pin
Nish Nishant6-Nov-01 9:01
sitebuilderNish Nishant6-Nov-01 9:01 
GeneralRe: Reboot windows 95 machines Pin
RobJones6-Nov-01 9:06
RobJones6-Nov-01 9:06 
GeneralImage Acquisition Pin
Chambers6-Nov-01 7:15
Chambers6-Nov-01 7:15 
GeneralRe: Image Acquisition Pin
Chris Losinger6-Nov-01 7:21
professionalChris Losinger6-Nov-01 7:21 
GeneralRe: Image Acquisition Pin
#realJSOP6-Nov-01 7:46
professional#realJSOP6-Nov-01 7:46 
GeneralRe: Image Acquisition Pin
Chambers7-Nov-01 2:25
Chambers7-Nov-01 2:25 
GeneralRe: Image Acquisition Pin
Chris Losinger7-Nov-01 2:49
professionalChris Losinger7-Nov-01 2:49 
GeneralRe: Image Acquisition Pin
Chambers7-Nov-01 5:00
Chambers7-Nov-01 5:00 
GeneralImage Color Management (ICM) Pin
6-Nov-01 7:03
suss6-Nov-01 7:03 
GeneralLog deletes in BoundsChecker Pin
peterchen6-Nov-01 7:00
peterchen6-Nov-01 7:00 
Generalsys/socket.h Pin
6-Nov-01 5:42
suss6-Nov-01 5:42 
GeneralRe: sys/socket.h Pin
Tim Smith6-Nov-01 6:22
Tim Smith6-Nov-01 6:22 
GeneralRe: sys/socket.h Pin
Anders Molin6-Nov-01 7:11
professionalAnders Molin6-Nov-01 7:11 
GeneralMessage from external app should: Open document and goto line # Pin
Steve Schaneville6-Nov-01 4:48
professionalSteve Schaneville6-Nov-01 4:48 
GeneralRe: Message from external app should: Open document and goto line # Pin
6-Nov-01 6:32
suss6-Nov-01 6:32 
GeneralRe: Message from external app should: Open document and goto line # Pin
Steve Schaneville6-Nov-01 6:56
professionalSteve Schaneville6-Nov-01 6:56 

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.