Click here to Skip to main content
16,014,591 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Resource Question Pin
Renjith Ramachandran30-May-02 6:21
Renjith Ramachandran30-May-02 6:21 
GeneralRe: Resource Question Pin
Bill Wilson30-May-02 12:09
Bill Wilson30-May-02 12:09 
Generalproblem reading string from registry Pin
Lucky the code machine30-May-02 2:18
Lucky the code machine30-May-02 2:18 
GeneralRe: problem reading string from registry Pin
Claudius Mokler30-May-02 3:11
Claudius Mokler30-May-02 3:11 
GeneralRe: problem reading string from registry Pin
Lucky the code machine30-May-02 3:31
Lucky the code machine30-May-02 3:31 
GeneralRe: problem reading string from registry Pin
Renjith Ramachandran30-May-02 3:30
Renjith Ramachandran30-May-02 3:30 
GeneralRe: problem reading string from registry Pin
Le centriste30-May-02 3:32
Le centriste30-May-02 3:32 
QuestionBlitting two different graphic bit depths? Pin
Alan Chambers30-May-02 1:59
Alan Chambers30-May-02 1:59 
Hi all, just wanted to know if there is some way of blitting a 16-bit RSB graphic (manually loaded into memory using its unique binary template) to a 24-bit graphic surface? I realise that it could be done by normalising the 16-bit information of 2-bytes per pixel to three bytes per pixel and then blitting but there are two issues with this:

a.) I didn't want this extra step unless it was UNAVOIDABLE.
b.) I'm not sure where to start with the conversion process?

I'm using DirectDraw to blit to the screen, and some custom surfaces to store the graphic data (Basically I'm trying to blit from a 640x480 16-bit plain surface to a 800x600 24-bit primary surface (but only blitting to a 640x480 portion of it)). Any ideas/viewpoints on the matter would be well apreciated.

Regards all,
Alan.

"When I left you I was but the learner, now I am the master" - Darth Vader
AnswerRe: Blitting two different graphic bit depths? Pin
Paul M Watt30-May-02 5:35
mentorPaul M Watt30-May-02 5:35 
GeneralCD ROM Information Pin
30-May-02 1:30
suss30-May-02 1:30 
GeneralRe: CD ROM Information Pin
Ed Gadziemski30-May-02 11:13
professionalEd Gadziemski30-May-02 11:13 
GeneralRe: CD ROM Information Pin
30-May-02 19:42
suss30-May-02 19:42 
GeneralRe: CD ROM Information Pin
30-May-02 19:43
suss30-May-02 19:43 
GeneralSetTitle on CDoc class Pin
LittleYellowBird30-May-02 1:33
LittleYellowBird30-May-02 1:33 
GeneralRe: SetTitle on CDoc class Pin
Michael P Butler30-May-02 1:47
Michael P Butler30-May-02 1:47 
GeneralRe: SetTitle on CDoc class Pin
LittleYellowBird30-May-02 2:02
LittleYellowBird30-May-02 2:02 
GeneralRe: SetTitle on CDoc class Pin
Michael P Butler30-May-02 2:09
Michael P Butler30-May-02 2:09 
GeneralRe: SetTitle on CDoc class Pin
LittleYellowBird30-May-02 3:55
LittleYellowBird30-May-02 3:55 
GeneralPGPEncode fails for RSA keys Pin
Nish Nishant30-May-02 1:14
sitebuilderNish Nishant30-May-02 1:14 
GeneralRe: PGPEncode fails for RSA keys Pin
Renjith Ramachandran30-May-02 3:49
Renjith Ramachandran30-May-02 3:49 
QuestionHi,all, I want to paint a bias and never use LineTo(),Because I want get every point's coordinate in the bias.How can i do? Pin
30-May-02 0:43
suss30-May-02 0:43 
AnswerRe: Hi,all, I want to paint a bias and never use LineTo(),Because I want get every point's coordinate in the bias.How can i do? Pin
mhamsa30-May-02 1:06
mhamsa30-May-02 1:06 
Generalthanks. but Polyline only paint points to dc, Pin
30-May-02 1:18
suss30-May-02 1:18 
AnswerRe: Hi,all, I want to paint a bias and never use LineTo(),Because I want get every point's coordinate in the bias.How can i do? Pin
jbarton30-May-02 3:54
jbarton30-May-02 3:54 
GeneralAdding view Pin
30-May-02 0:29
suss30-May-02 0:29 

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.