Click here to Skip to main content
15,918,676 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Displaying thumbnails Pin
Michael Gunlock15-Nov-03 14:00
Michael Gunlock15-Nov-03 14:00 
QuestionRight way to size a control to fit window? Pin
Kuniva14-Nov-03 8:14
Kuniva14-Nov-03 8:14 
AnswerRe: Right way to size a control to fit window? Pin
Peter Molnar14-Nov-03 14:02
Peter Molnar14-Nov-03 14:02 
GeneralKeyboard Hook Pin
trendb14-Nov-03 8:09
trendb14-Nov-03 8:09 
GeneralRe: Keyboard Hook Pin
JWood14-Nov-03 9:41
JWood14-Nov-03 9:41 
GeneralRe: Keyboard Hook Pin
trendb14-Nov-03 13:51
trendb14-Nov-03 13:51 
GeneralRe: Keyboard Hook Pin
Alexander M.,14-Nov-03 22:43
Alexander M.,14-Nov-03 22:43 
GeneralCreate a circling text around the button Pin
nhanquy8314-Nov-03 7:42
nhanquy8314-Nov-03 7:42 
GeneralRe: Create a circling text around the button Pin
Maximilien14-Nov-03 7:52
Maximilien14-Nov-03 7:52 
GeneralLoading Directories in tree control in vc++ Pin
harsh91114-Nov-03 6:42
harsh91114-Nov-03 6:42 
GeneralRe: Loading Directories in tree control in vc++ Pin
Michael Dunn14-Nov-03 6:50
sitebuilderMichael Dunn14-Nov-03 6:50 
GeneralRe: Loading Directories in tree control in vc++ Pin
Ravi Bhavnani14-Nov-03 10:47
professionalRavi Bhavnani14-Nov-03 10:47 
GeneralRe: Loading Directories in tree control in vc++ Pin
harsh91114-Nov-03 18:48
harsh91114-Nov-03 18:48 
Generaldelete Pin
Keck14-Nov-03 6:42
Keck14-Nov-03 6:42 
GeneralRe: delete Pin
Michael Dunn14-Nov-03 6:51
sitebuilderMichael Dunn14-Nov-03 6:51 
GeneralRe: delete Pin
Maximilien14-Nov-03 7:26
Maximilien14-Nov-03 7:26 
GeneralRe: delete Pin
Keck14-Nov-03 8:42
Keck14-Nov-03 8:42 
GeneralRe: delete Pin
Tim Smith14-Nov-03 10:40
Tim Smith14-Nov-03 10:40 
GeneralRe: delete Pin
Keck15-Nov-03 8:10
Keck15-Nov-03 8:10 
GeneralAccessing Parallel Port Pin
Pupil_Pa14-Nov-03 6:10
sussPupil_Pa14-Nov-03 6:10 
GeneralRe: Accessing Parallel Port Pin
Roger Allen14-Nov-03 6:14
Roger Allen14-Nov-03 6:14 
GeneralFast picture drawing Pin
Ares214-Nov-03 6:09
Ares214-Nov-03 6:09 
GeneralRe: Fast picture drawing Pin
JWood14-Nov-03 9:39
JWood14-Nov-03 9:39 
Don't use SetPixel as it is not designed to be used for displaying an entire image. You need to create a bitmap header in memory and then point the bits parameter to your array. This generally has additional problems as you must make sure that the number of pixels in a line is a multiple of 4, and are arranged in the BGR vs RGB order.

Look up CXIMage for some more information and there are likely some other tutorials in that same section.

J.
----------------------------

GeneralRe: Fast picture drawing Pin
Ares214-Nov-03 21:29
Ares214-Nov-03 21:29 
GeneralRe: Fast picture drawing Pin
Mike Nordell14-Nov-03 19:09
Mike Nordell14-Nov-03 19:09 

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.