Click here to Skip to main content
15,898,825 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Question about Threads Pin
BadKarma16-Feb-06 20:53
BadKarma16-Feb-06 20:53 
GeneralRe: Question about Threads [modified] Pin
BadKarma25-May-06 12:52
BadKarma25-May-06 12:52 
AnswerRe: Question about Threads Pin
Aqueel17-Feb-06 17:31
Aqueel17-Feb-06 17:31 
AnswerRe: Question about Threads Pin
ThatsAlok17-Feb-06 21:47
ThatsAlok17-Feb-06 21:47 
QuestionGetSafeHdc() allocates new memory or not Pin
anilksingh16-Feb-06 18:38
anilksingh16-Feb-06 18:38 
AnswerRe: GetSafeHdc() allocates new memory or not Pin
Ryan Binns16-Feb-06 19:45
Ryan Binns16-Feb-06 19:45 
AnswerRe: GetSafeHdc() allocates new memory or not Pin
John R. Shaw16-Feb-06 19:57
John R. Shaw16-Feb-06 19:57 
AnswerRe: GetSafeHdc() allocates new memory or not Pin
ThatsAlok17-Feb-06 3:42
ThatsAlok17-Feb-06 3:42 
anilksingh wrote:
pDC->GetSafeHdc();

just return the reference to selected DC.. the CDC it self manage life cycle of the HDC object.. so you don't need to worry about it.

Secondly you can use DeleteDC api to delete DC

"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow


cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
QuestionQuestion about create simple image in c++/MFC Pin
Yanshof16-Feb-06 18:20
Yanshof16-Feb-06 18:20 
AnswerRe: Question about create simple image in c++/MFC Pin
Stephen Hewitt16-Feb-06 18:36
Stephen Hewitt16-Feb-06 18:36 
AnswerRe: Question about create simple image in c++/MFC Pin
John R. Shaw16-Feb-06 20:03
John R. Shaw16-Feb-06 20:03 
AnswerRe: Question about create simple image in c++/MFC Pin
ThatsAlok17-Feb-06 3:40
ThatsAlok17-Feb-06 3:40 
QuestionIssue with debug and release Pin
super16-Feb-06 16:03
professionalsuper16-Feb-06 16:03 
AnswerRe: Issue with debug and release Pin
ThatsAlok17-Feb-06 3:38
ThatsAlok17-Feb-06 3:38 
GeneralRe: Issue with debug and release Pin
Blake Miller17-Feb-06 4:26
Blake Miller17-Feb-06 4:26 
QuestionHow to realize my own shell format? Pin
Jerry New16-Feb-06 15:22
Jerry New16-Feb-06 15:22 
Questiondynamically creating controls Pin
britboyjohnson16-Feb-06 14:50
britboyjohnson16-Feb-06 14:50 
AnswerRe: dynamically creating controls Pin
Naveen16-Feb-06 16:16
Naveen16-Feb-06 16:16 
AnswerRe: dynamically creating controls Pin
Ganesh_T16-Feb-06 16:20
Ganesh_T16-Feb-06 16:20 
AnswerRe: dynamically creating controls Pin
MANISH RASTOGI16-Feb-06 17:20
MANISH RASTOGI16-Feb-06 17:20 
GeneralRe: dynamically creating controls Pin
Owner drawn16-Feb-06 17:23
Owner drawn16-Feb-06 17:23 
GeneralRe: dynamically creating controls Pin
Ryan Binns16-Feb-06 17:25
Ryan Binns16-Feb-06 17:25 
GeneralRe: dynamically creating controls Pin
Owner drawn16-Feb-06 17:35
Owner drawn16-Feb-06 17:35 
GeneralRe: dynamically creating controls Pin
britboyjohnson17-Feb-06 1:03
britboyjohnson17-Feb-06 1:03 
GeneralRe: dynamically creating controls Pin
Owner drawn17-Feb-06 1:10
Owner drawn17-Feb-06 1:10 

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.