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

C / C++ / MFC

 
GeneralRe: Question about Threads Pin
Stephen Hewitt19-Feb-06 11:11
Stephen Hewitt19-Feb-06 11:11 
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 
It returns a handle to an exiting HDC or NULL. If you single step through the code you will see that calling GetSafeHdc() is equivalent to return(hdc?hdc:NULL), which is kind of silly if you ask me. Because if the test codition faile "hdc?" then the hdc is already equivalent to NULL. The long and the short of it is that GetSafeHdc() does not allocate any memory, it just makes sure that the HDC returned is either valid or NULL.

INTP
Every thing is relative...
AnswerRe: GetSafeHdc() allocates new memory or not Pin
ThatsAlok17-Feb-06 3:42
ThatsAlok17-Feb-06 3:42 
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 

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.