Click here to Skip to main content
15,917,059 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Create Oracle database(tables) programmatically in VC++ Pin
diptipanchal10-Dec-09 18:09
diptipanchal10-Dec-09 18:09 
AnswerRe: Create Oracle database(tables) programmatically in VC++ Pin
David Crow15-Dec-09 2:49
David Crow15-Dec-09 2:49 
GeneralRe: Create Oracle database(tables) programmatically in VC++ Pin
diptipanchal16-Dec-09 17:04
diptipanchal16-Dec-09 17:04 
GeneralRe: Create Oracle database(tables) programmatically in VC++ Pin
David Crow17-Dec-09 3:12
David Crow17-Dec-09 3:12 
GeneralRe: Create Oracle database(tables) programmatically in VC++ Pin
diptipanchal17-Dec-09 21:48
diptipanchal17-Dec-09 21:48 
QuestionRegarding Mouse Scroll Pin
Paulraj G9-Dec-09 17:04
Paulraj G9-Dec-09 17:04 
AnswerRe: Regarding Mouse Scroll Pin
«_Superman_»9-Dec-09 18:27
professional«_Superman_»9-Dec-09 18:27 
GeneralRe: Regarding Mouse Scroll Pin
Paulraj G9-Dec-09 18:49
Paulraj G9-Dec-09 18:49 
GeneralRe: Regarding Mouse Scroll Pin
«_Superman_»9-Dec-09 18:52
professional«_Superman_»9-Dec-09 18:52 
Questionfalling ball loop Pin
rheeny9-Dec-09 16:23
rheeny9-Dec-09 16:23 
AnswerRe: falling ball loop Pin
LunaticFringe9-Dec-09 19:03
LunaticFringe9-Dec-09 19:03 
AnswerRe: falling ball loop Pin
rheeny10-Dec-09 13:30
rheeny10-Dec-09 13:30 
Questioncan use GLUT to read an picture (bmp)??? Pin
a04.lqd9-Dec-09 15:05
a04.lqd9-Dec-09 15:05 
AnswerRe: can use GLUT to read an picture (bmp)??? Pin
Cedric Moonen9-Dec-09 20:26
Cedric Moonen9-Dec-09 20:26 
Questionvoip Pin
geniuspc9-Dec-09 12:38
geniuspc9-Dec-09 12:38 
AnswerRe: voip Pin
Moak10-Dec-09 5:32
Moak10-Dec-09 5:32 
QuestionStack Overflow / Windows CE Newbie Pin
egerving9-Dec-09 12:01
egerving9-Dec-09 12:01 
AnswerRe: Stack Overflow / Windows CE Newbie Pin
Luc Pattyn9-Dec-09 12:36
sitebuilderLuc Pattyn9-Dec-09 12:36 
GeneralRe: Stack Overflow / Windows CE Newbie Pin
egerving10-Dec-09 7:31
egerving10-Dec-09 7:31 
QuestionHow do you merge multiple bitmap files? Pin
Dale Haessel9-Dec-09 10:30
Dale Haessel9-Dec-09 10:30 
AnswerRe: How do you merge multiple bitmap files? Pin
loyal ginger9-Dec-09 10:34
loyal ginger9-Dec-09 10:34 
GeneralRe: How do you merge multiple bitmap files? Pin
Dale Haessel9-Dec-09 17:04
Dale Haessel9-Dec-09 17:04 
GeneralRe: How do you merge multiple bitmap files? Pin
loyal ginger9-Dec-09 17:53
loyal ginger9-Dec-09 17:53 
GeneralRe: How do you merge multiple bitmap files? Pin
LunaticFringe9-Dec-09 19:22
LunaticFringe9-Dec-09 19:22 
loyal ginger wrote:
You can first calculate the target image's size based on all the small images' sizes, then create a blank image of the target size in memory. After that, load the small images one by one into memory, then render them to appropriate locations in the target image in memory.

For this purpose, the GDI+ Image class is your friend. If you like the old method, then device independent bitmap (DIB) can be used instead.


Rather than using image classes or DIBs and rendering into the new image, an alternative would be to use DIBSections. This would allow access to the raw pixel data, which could then be copied (and manipulated in any desired manner in the process) directly into the target pixels, avoiding the complexities of creating memory DC's, selecting images into them, blitting, inadvertently creating GDI resources leaks, etc, etc.

And I'm afraid Paul DiLascia, writer of PixieLib and countless invaluable MSDN articles, is no more.

Rose | [Rose]
AnswerRe: How do you merge multiple bitmap files? Pin
Sauce!9-Dec-09 13:50
Sauce!9-Dec-09 13:50 

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.