Click here to Skip to main content
15,887,485 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Lost my way in classes and array.. Pin
joostvaningen1-Mar-06 20:42
joostvaningen1-Mar-06 20:42 
QuestionFile load in memoery memory - then perform read write on that data Pin
zahid_ash1-Mar-06 0:29
zahid_ash1-Mar-06 0:29 
AnswerRe: File load in memoery memory - then perform read write on that data Pin
Naveen1-Mar-06 2:17
Naveen1-Mar-06 2:17 
AnswerRe: File load in memoery memory - then perform read write on that data Pin
David Crow1-Mar-06 3:03
David Crow1-Mar-06 3:03 
QuestionSetBitmapBits not Working as Expected Pin
walter761-Mar-06 0:28
walter761-Mar-06 0:28 
AnswerRe: SetBitmapBits not Working as Expected Pin
includeh101-Mar-06 2:11
includeh101-Mar-06 2:11 
GeneralRe: SetBitmapBits not Working as Expected Pin
walter761-Mar-06 2:25
walter761-Mar-06 2:25 
AnswerRe: SetBitmapBits not Working as Expected Pin
Ryan Binns1-Mar-06 2:53
Ryan Binns1-Mar-06 2:53 
Instead of using CreateBitmap(), use CreateCompatibleBitmap() passing pDC as the DC parameter, and then use the contents of the BITMAP structure to determine what format the bitmap is in. You may very well find that it's a 32-bpp bitmap, not a 24-bpp bitmap. Remember BitBlt() only works if the source bitmap is monochrome or in the same format as the device context - hence the CreateCompatibleBitmap() function.

Ryan
"Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"

GeneralRe: SetBitmapBits not Working as Expected Pin
walter761-Mar-06 2:59
walter761-Mar-06 2:59 
AnswerRe: SetBitmapBits not Working as Expected Pin
Ryan Binns1-Mar-06 2:55
Ryan Binns1-Mar-06 2:55 
GeneralRe: SetBitmapBits not Working as Expected Pin
walter761-Mar-06 3:00
walter761-Mar-06 3:00 
QuestionStatus bar part allignment Pin
Waldermort1-Mar-06 0:03
Waldermort1-Mar-06 0:03 
AnswerRe: Status bar part allignment Pin
Nibu babu thomas1-Mar-06 0:32
Nibu babu thomas1-Mar-06 0:32 
Questioncreating child process in c++ Pin
Aqueel28-Feb-06 23:58
Aqueel28-Feb-06 23:58 
AnswerRe: creating child process in c++ Pin
Nibu babu thomas1-Mar-06 0:03
Nibu babu thomas1-Mar-06 0:03 
AnswerRe: creating child process in c++ Pin
Vinaya1-Mar-06 0:08
Vinaya1-Mar-06 0:08 
AnswerRe: creating child process in c++ Pin
John R. Shaw1-Mar-06 0:23
John R. Shaw1-Mar-06 0:23 
AnswerRe: creating child process in c++ Pin
Cedric Moonen1-Mar-06 0:47
Cedric Moonen1-Mar-06 0:47 
GeneralRe: creating child process in c++ Pin
Ryan Binns1-Mar-06 2:58
Ryan Binns1-Mar-06 2:58 
AnswerRe: creating child process in c++ Pin
Aqueel1-Mar-06 0:48
Aqueel1-Mar-06 0:48 
GeneralRe: creating child process in c++ Pin
Ryan Binns1-Mar-06 2:59
Ryan Binns1-Mar-06 2:59 
AnswerRe: creating child process in c++ Pin
Nemanja Trifunovic1-Mar-06 1:48
Nemanja Trifunovic1-Mar-06 1:48 
GeneralRe: creating child process in c++ Pin
jhwurmbach1-Mar-06 3:05
jhwurmbach1-Mar-06 3:05 
Questionplacing landline call from cyber cafe node Pin
Martin Akula28-Feb-06 23:41
Martin Akula28-Feb-06 23:41 
AnswerRe: placing landline call from cyber cafe node Pin
toxcct28-Feb-06 23:49
toxcct28-Feb-06 23:49 

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.