Click here to Skip to main content
15,894,180 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: listCtrl question Pin
Michael Dunn11-Dec-01 7:50
sitebuilderMichael Dunn11-Dec-01 7:50 
QuestionRewind in a serialize process? Pin
José Luis Sogorb11-Dec-01 4:40
José Luis Sogorb11-Dec-01 4:40 
AnswerRe: Rewind in a serialize process? Pin
Ravi Bhavnani11-Dec-01 4:45
professionalRavi Bhavnani11-Dec-01 4:45 
GeneralRe: Rewind in a serialize process? Pin
José Luis Sogorb11-Dec-01 6:01
José Luis Sogorb11-Dec-01 6:01 
GeneralRe: Rewind in a serialize process? Pin
Ravi Bhavnani12-Dec-01 1:57
professionalRavi Bhavnani12-Dec-01 1:57 
GeneralRe: Rewind in a serialize process? Pin
José Luis Sogorb12-Dec-01 6:09
José Luis Sogorb12-Dec-01 6:09 
GeneralRe: Rewind in a serialize process? Pin
José Luis Sogorb13-Dec-01 3:33
José Luis Sogorb13-Dec-01 3:33 
GeneralGet image into DIB Pin
Jerry Wang11-Dec-01 4:27
Jerry Wang11-Dec-01 4:27 
Hi, Can anyone tell me how I can move an image into DIB? I hard coded my program to display images onto the screen correctly with 32bit/pixel, and now the program doesn't work when the screen is set to another color bit depth.

Chris Becke's GDI tutorial was very helpful and led me to the GetDIBits and SetDIBits functions. I am planning to use GetDIBits(HDC, HBITMAP...) for converting my image to DIB, but I don't know what I should put in for HDC. The only context I can think of is my screenDC, but I doubt it is looking for my screenDC, rather, it's looking for the DC I originate my bitmap from... Is this correct? If so, then how can I create a DC for my image? My image is a string of BYTES with xBGRxBGRxBGRxBGR... where x is an unused byte.

Thanks in advance for the help!Blush | :O
GeneralRe: Get image into DIB Pin
PJ Arends11-Dec-01 9:08
professionalPJ Arends11-Dec-01 9:08 
GeneralRe: Get image into DIB Pin
Jerry Wang12-Dec-01 7:56
Jerry Wang12-Dec-01 7:56 
GeneralRe: Get image into DIB Pin
PJ Arends12-Dec-01 13:16
professionalPJ Arends12-Dec-01 13:16 
GeneralRe: Get image into DIB Pin
13-Dec-01 12:06
suss13-Dec-01 12:06 
GeneralAutomation in Outlook Pin
JDMoore11-Dec-01 4:13
JDMoore11-Dec-01 4:13 
QuestionHow to determine if IIS is installed and version? Pin
Matt Philmon11-Dec-01 3:52
Matt Philmon11-Dec-01 3:52 
AnswerRe: Problem solving skill! Pin
Masaaki Onishi11-Dec-01 7:49
Masaaki Onishi11-Dec-01 7:49 
QuestionIs there a round function? Pin
Chambers11-Dec-01 3:45
Chambers11-Dec-01 3:45 
AnswerRe: Is there a round function? Pin
#realJSOP11-Dec-01 4:06
mve#realJSOP11-Dec-01 4:06 
AnswerRe: Is there a round function? Pin
Alvaro Mendez11-Dec-01 4:09
Alvaro Mendez11-Dec-01 4:09 
GeneralRe: Is there a round function? Pin
Chambers11-Dec-01 4:13
Chambers11-Dec-01 4:13 
GeneralC++ operator Pin
Fred/M11-Dec-01 3:22
Fred/M11-Dec-01 3:22 
GeneralRe: C++ operator Pin
Ernest Laurentin11-Dec-01 4:08
Ernest Laurentin11-Dec-01 4:08 
GeneralRe: C++ operator Pin
Alvaro Mendez11-Dec-01 4:15
Alvaro Mendez11-Dec-01 4:15 
GeneralRe: C++ operator Pin
Fred/M11-Dec-01 4:42
Fred/M11-Dec-01 4:42 
GeneralRe: C++ operator Pin
Alvaro Mendez11-Dec-01 5:42
Alvaro Mendez11-Dec-01 5:42 
GeneralRe: C++ operator Pin
Jonathan Gilligan11-Dec-01 4:55
Jonathan Gilligan11-Dec-01 4:55 

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.