Click here to Skip to main content
15,904,494 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: User Defined Messages - Value Pin
Cliff Hatch25-May-06 0:52
Cliff Hatch25-May-06 0:52 
QuestionPostMessage - What should the handler return? Pin
Cliff Hatch24-May-06 8:39
Cliff Hatch24-May-06 8:39 
AnswerRe: PostMessage - What should the handler return? Pin
RChin24-May-06 9:48
RChin24-May-06 9:48 
GeneralRe: PostMessage - What should the handler return? Pin
Cliff Hatch24-May-06 11:18
Cliff Hatch24-May-06 11:18 
QuestionCorrect use of extern Pin
masnu24-May-06 8:38
masnu24-May-06 8:38 
AnswerRe: Correct use of extern Pin
David Crow24-May-06 10:20
David Crow24-May-06 10:20 
AnswerRe: Correct use of extern Pin
Chris Losinger24-May-06 10:58
professionalChris Losinger24-May-06 10:58 
Questionjpeg/png/tiff libs in VS 2005 linker errors. Pin
CodeGoose24-May-06 7:45
CodeGoose24-May-06 7:45 
AnswerRe: jpeg/png/tiff libs in VS 2005 linker errors. Pin
David Crow24-May-06 8:23
David Crow24-May-06 8:23 
AnswerRe: jpeg/png/tiff libs in VS 2005 linker errors. Pin
Chris Losinger24-May-06 8:23
professionalChris Losinger24-May-06 8:23 
GeneralRe: jpeg/png/tiff libs in VS 2005 linker errors. Pin
CodeGoose24-May-06 8:48
CodeGoose24-May-06 8:48 
QuestionIs it too late to write a book on how to do Owner-Draw components using Win32 API/MFC/WTL? Pin
Han Bo Sun24-May-06 7:36
professionalHan Bo Sun24-May-06 7:36 
Question[C++] Remote WMI ==> "Access denied" Pin
mocrotronics24-May-06 5:33
mocrotronics24-May-06 5:33 
AnswerRe: [C++] Remote WMI ==> "Access denied" Pin
Sheng Jiang 蒋晟24-May-06 11:16
Sheng Jiang 蒋晟24-May-06 11:16 
QuestionINT_PTR/INT usage confusion Pin
bob1697224-May-06 4:51
bob1697224-May-06 4:51 
AnswerRe: INT_PTR/INT usage confusion Pin
toxcct24-May-06 5:18
toxcct24-May-06 5:18 
GeneralRe: INT_PTR/INT usage confusion Pin
bob1697224-May-06 5:27
bob1697224-May-06 5:27 
GeneralRe: INT_PTR/INT usage confusion Pin
toxcct24-May-06 5:50
toxcct24-May-06 5:50 
GeneralRe: INT_PTR/INT usage confusion Pin
bob1697224-May-06 6:16
bob1697224-May-06 6:16 
QuestionRe: INT_PTR/INT usage confusion Pin
Chris Meech24-May-06 5:46
Chris Meech24-May-06 5:46 
AnswerRe: INT_PTR/INT usage confusion Pin
bob1697224-May-06 6:15
bob1697224-May-06 6:15 
GeneralRe: INT_PTR/INT usage confusion Pin
Chris Meech24-May-06 6:49
Chris Meech24-May-06 6:49 
GeneralRe: INT_PTR/INT usage confusion Pin
bob1697224-May-06 7:38
bob1697224-May-06 7:38 
GeneralRe: INT_PTR/INT usage confusion Pin
Zac Howland24-May-06 8:30
Zac Howland24-May-06 8:30 
Just FYI, last time I checked (its been a little while, so 2005 may have changed it), INT_PTR and INT were the same thing (for a 32-bit build, they were longs, for 64-bit, they were long longs).

When using the MFC collection classes, I generally use whatever they return for as long as possible and only cast it if absolutely necessary. That usually saves a lot of headaches.

If you decide to become a software engineer, you are signing up to have a 1/2" piece of silicon tell you exactly how stupid you really are for 8 hours a day, 5 days a week

Zac
GeneralRe: INT_PTR/INT usage confusion Pin
bob1697224-May-06 9:20
bob1697224-May-06 9:20 

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.