Click here to Skip to main content
15,898,939 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: win32 print preview Pin
stephen.hazel5-Feb-07 10:10
stephen.hazel5-Feb-07 10:10 
GeneralRe: win32 print preview Pin
stephen.hazel5-Feb-07 11:29
stephen.hazel5-Feb-07 11:29 
QuestionUnicode in MFC Pin
omid kamangar5-Feb-07 6:30
omid kamangar5-Feb-07 6:30 
AnswerRe: Unicode in MFC Pin
ThatsAlok6-Feb-07 20:08
ThatsAlok6-Feb-07 20:08 
QuestionAlternative to getPixel() Pin
ceejeeb5-Feb-07 5:45
ceejeeb5-Feb-07 5:45 
AnswerRe: Alternative to getPixel() Pin
Waldermort5-Feb-07 6:16
Waldermort5-Feb-07 6:16 
GeneralRe: Alternative to getPixel() Pin
ceejeeb5-Feb-07 6:33
ceejeeb5-Feb-07 6:33 
GeneralRe: Alternative to getPixel() Pin
Waldermort5-Feb-07 6:56
Waldermort5-Feb-07 6:56 
Maybe you are not doing it yourself, but what do you thing GetPixel() is doing internally? Each time you call it, it must first read the header, get the bits, calculate the size of a pixel, calculate the the size of a row, calculate which row, calculate how far into that row, get the pixel, convert it to a COLORREF then give it back to you. ALL FOR ONE PIXEL! This is for every single call.

If you use a dib, you can do all that calculating yourself and do it only once.
GeneralRe: Alternative to getPixel() Pin
ceejeeb5-Feb-07 6:58
ceejeeb5-Feb-07 6:58 
GeneralRe: Alternative to getPixel() Pin
Waldermort5-Feb-07 7:12
Waldermort5-Feb-07 7:12 
GeneralRe: Alternative to getPixel() Pin
ceejeeb5-Feb-07 7:55
ceejeeb5-Feb-07 7:55 
GeneralRe: Alternative to getPixel() Pin
Waldermort5-Feb-07 9:11
Waldermort5-Feb-07 9:11 
QuestionHow to call method inside another method.. Pin
Shah Satish5-Feb-07 4:44
Shah Satish5-Feb-07 4:44 
AnswerRe: How to call method inside another method.. Pin
Maximilien5-Feb-07 5:01
Maximilien5-Feb-07 5:01 
GeneralRe: How to call method inside another method.. Pin
Shah Satish5-Feb-07 5:09
Shah Satish5-Feb-07 5:09 
GeneralRe: How to call method inside another method.. Pin
Maximilien5-Feb-07 8:20
Maximilien5-Feb-07 8:20 
AnswerRe: How to call method inside another method.. Pin
benjymous5-Feb-07 5:04
benjymous5-Feb-07 5:04 
GeneralRe: How to call method inside another method.. Pin
Shah Satish5-Feb-07 5:09
Shah Satish5-Feb-07 5:09 
AnswerRe: How to call method inside another method.. Pin
Hamid_RT5-Feb-07 7:53
Hamid_RT5-Feb-07 7:53 
GeneralRe: How to call method inside another method.. Pin
Shah Satish5-Feb-07 7:55
Shah Satish5-Feb-07 7:55 
GeneralRe: How to call method inside another method.. Pin
Hamid_RT5-Feb-07 19:17
Hamid_RT5-Feb-07 19:17 
QuestionRight-click on Tree Control gives bad values. Pin
Maximilien5-Feb-07 4:22
Maximilien5-Feb-07 4:22 
AnswerRe: Right-click on Tree Control gives bad values. Pin
Gary R. Wheeler5-Feb-07 12:57
Gary R. Wheeler5-Feb-07 12:57 
QuestionUnable to export a public static member. Pin
tntlei5-Feb-07 3:30
tntlei5-Feb-07 3:30 
AnswerRe: Unable to export a public static member. Pin
tntlei5-Feb-07 3:32
tntlei5-Feb-07 3:32 

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.