Click here to Skip to main content
15,886,806 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionwhat is the shadow in clinet area Pin
_Pinux_30-Nov-07 5:00
_Pinux_30-Nov-07 5:00 
AnswerRe: what is the shadow in clinet area Pin
Iain Clarke, Warrior Programmer30-Nov-07 6:27
Iain Clarke, Warrior Programmer30-Nov-07 6:27 
QuestionBitBlt mystery problem Pin
csmanul30-Nov-07 4:40
csmanul30-Nov-07 4:40 
QuestionRe: BitBlt mystery problem Pin
Mark Salsbery30-Nov-07 9:46
Mark Salsbery30-Nov-07 9:46 
AnswerRe: BitBlt mystery problem Pin
csmanul30-Nov-07 11:58
csmanul30-Nov-07 11:58 
GeneralRe: BitBlt mystery problem Pin
Mark Salsbery30-Nov-07 12:12
Mark Salsbery30-Nov-07 12:12 
GeneralRe: BitBlt mystery problem Pin
csmanul30-Nov-07 12:58
csmanul30-Nov-07 12:58 
GeneralRe: BitBlt mystery problem Pin
Mark Salsbery30-Nov-07 13:18
Mark Salsbery30-Nov-07 13:18 
I couldn't see the image, but I've been trying to find something in the code.

Shouldn't the  DeleteObject(bmp); call be outside/after the while() loop?

You should also select bmp out of the memory DC (by selecting its original bitmap back in)
before you delete it.

Mark



Mark Salsbery
Microsoft MVP - Visual C++

Java | [Coffee]

GeneralRe: BitBlt mystery problem Pin
Mark Salsbery30-Nov-07 13:28
Mark Salsbery30-Nov-07 13:28 
GeneralRe: BitBlt mystery problem Pin
csmanul30-Nov-07 13:38
csmanul30-Nov-07 13:38 
GeneralRe: BitBlt mystery problem Pin
Mark Salsbery30-Nov-07 13:46
Mark Salsbery30-Nov-07 13:46 
GeneralRe: BitBlt mystery problem Pin
csmanul30-Nov-07 13:55
csmanul30-Nov-07 13:55 
QuestionDial up connection on Vista Pin
Sonani Prakash30-Nov-07 4:31
Sonani Prakash30-Nov-07 4:31 
Questionruntime library option Pin
George_George30-Nov-07 3:47
George_George30-Nov-07 3:47 
AnswerRe: runtime library option Pin
CPallini30-Nov-07 3:56
mveCPallini30-Nov-07 3:56 
GeneralRe: runtime library option Pin
Matthew Faithfull30-Nov-07 4:23
Matthew Faithfull30-Nov-07 4:23 
GeneralRe: runtime library option Pin
CPallini30-Nov-07 4:27
mveCPallini30-Nov-07 4:27 
QuestionSourceSafe problem Pin
followait30-Nov-07 2:39
followait30-Nov-07 2:39 
QuestionRe: SourceSafe problem Pin
David Crow30-Nov-07 3:07
David Crow30-Nov-07 3:07 
AnswerRe: SourceSafe problem Pin
followait30-Nov-07 3:20
followait30-Nov-07 3:20 
AnswerRe: SourceSafe problem Pin
krmed30-Nov-07 3:51
krmed30-Nov-07 3:51 
GeneralRe: SourceSafe problem Pin
followait30-Nov-07 16:26
followait30-Nov-07 16:26 
GeneralRe: SourceSafe problem Pin
followait30-Nov-07 16:39
followait30-Nov-07 16:39 
QuestionApplication requirement Pin
Kogee San30-Nov-07 2:17
Kogee San30-Nov-07 2:17 
QuestionRe: Application requirement Pin
David Crow30-Nov-07 3:09
David Crow30-Nov-07 3:09 

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.