Click here to Skip to main content
15,915,864 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: One more question about CreateProcess, etc Pin
13-Dec-01 5:25
suss13-Dec-01 5:25 
GeneralNewbie Image Help Pin
Jerry Wang12-Dec-01 8:50
Jerry Wang12-Dec-01 8:50 
GeneralRe: Newbie Image Help Pin
Christian Graus12-Dec-01 10:17
protectorChristian Graus12-Dec-01 10:17 
GeneralRe: Newbie Image Help Pin
12-Dec-01 12:38
suss12-Dec-01 12:38 
GeneralRe: Newbie Image Help Pin
Christian Graus12-Dec-01 13:12
protectorChristian Graus12-Dec-01 13:12 
GeneralRe: Newbie Image Help Pin
Joaquín M López Muñoz12-Dec-01 11:55
Joaquín M López Muñoz12-Dec-01 11:55 
GeneralRe: Newbie Image Help Pin
12-Dec-01 12:53
suss12-Dec-01 12:53 
GeneralRe: Newbie Image Help Pin
Christian Graus12-Dec-01 13:18
protectorChristian Graus12-Dec-01 13:18 
Yes, the bottom to top ordering and the BGR ordering are standard in windows, so if the image is coming in that way, then it's fine.

CBitmap is a DDB - a device dependant bitmap. A DIB is device INdependant, in other words it defines it's own colour depth instead of relying on the colour depth of a device. A DIB cannot be used to draw on, etc. using a CDC. A DIBSection is a hybrid creature - a DIB that has a HBITMAP which can be selected into a DC and used like any other HBITMAP ( which CBitmap is an extended wrapper for ).

CreateDIBSection can just be passed in a CDC created with CreateCompatibleDC(NULL); The code I pointed you to on the WDJ site does this.


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

Sonork ID 100.10002:MeanManOz
I live in Bob's HungOut now

GeneralRe: Newbie Image Help Pin
13-Dec-01 12:11
suss13-Dec-01 12:11 
QuestionHow to launch an executable directly from memory? Pin
John Osborn12-Dec-01 8:39
John Osborn12-Dec-01 8:39 
AnswerRe: How to launch an executable directly from memory? Pin
Joaquín M López Muñoz12-Dec-01 9:22
Joaquín M López Muñoz12-Dec-01 9:22 
GeneralRe: How to launch an executable directly from memory? Pin
John Osborn12-Dec-01 13:26
John Osborn12-Dec-01 13:26 
GeneralIs it possible to change bmp in executable Pin
SAK12-Dec-01 7:36
SAK12-Dec-01 7:36 
GeneralRe: Is it possible to change bmp in executable Pin
Rick York12-Dec-01 7:58
mveRick York12-Dec-01 7:58 
GeneralRe: Is it possible to change bmp in executable Pin
Ernest Laurentin12-Dec-01 7:59
Ernest Laurentin12-Dec-01 7:59 
GeneralRe: Is it possible to change bmp in executable Pin
Alvaro Mendez12-Dec-01 8:06
Alvaro Mendez12-Dec-01 8:06 
GeneralProblem with ActiveX Pin
12-Dec-01 7:00
suss12-Dec-01 7:00 
GeneralRe: Problem with ActiveX Pin
Ernest Laurentin12-Dec-01 8:32
Ernest Laurentin12-Dec-01 8:32 
GeneralRe: Problem with ActiveX Pin
13-Dec-01 5:38
suss13-Dec-01 5:38 
GeneralRe: Problem with ActiveX Pin
Ernest Laurentin13-Dec-01 5:51
Ernest Laurentin13-Dec-01 5:51 
GeneralRe: Problem with ActiveX Pin
13-Dec-01 6:19
suss13-Dec-01 6:19 
GeneralRe: Problem with ActiveX Pin
14-Dec-01 4:20
suss14-Dec-01 4:20 
GeneralRuntime video Codec chose Pin
12-Dec-01 6:47
suss12-Dec-01 6:47 
GeneralRe: Runtime video Codec chose Pin
Un114-Apr-02 4:22
Un114-Apr-02 4:22 
QuestionHow to tell it's a text file or a rich text file in CRichEditView? Pin
davilism12-Dec-01 6:31
davilism12-Dec-01 6:31 

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.