Click here to Skip to main content
15,922,650 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralBackground for SDI document Pin
ppathan30-Jun-03 12:05
ppathan30-Jun-03 12:05 
GeneralRe: Background for SDI document Pin
basementman30-Jun-03 16:11
basementman30-Jun-03 16:11 
GeneralRe: Background for SDI document Pin
ppathan1-Jul-03 4:29
ppathan1-Jul-03 4:29 
QuestionDoes anybody have any experience making a Help app in MSVC++? Pin
nssone30-Jun-03 11:53
nssone30-Jun-03 11:53 
AnswerRe: Does anybody have any experience making a Help app in MSVC++? Pin
Toni7830-Jun-03 16:23
Toni7830-Jun-03 16:23 
QuestionWhy Use this Return Statement? Pin
ursus zeta30-Jun-03 11:32
ursus zeta30-Jun-03 11:32 
AnswerRe: Why Use this Return Statement? Pin
Neville Franks30-Jun-03 11:51
Neville Franks30-Jun-03 11:51 
GeneralRe: Why Use this Return Statement? Pin
ursus zeta30-Jun-03 13:10
ursus zeta30-Jun-03 13:10 
Neville,
Thanks for the response. And, yes, it is non-MFC code.
The ShowWindow and UpdateWindow calls are standard Win32 functions, I recognize the same calls from Petzold.
But, what I don't understand is: Why return anything? Typically, when creating a window, you just write the same code as above, but without a return statement. I'm thinking that he intends to make the two variables (the HWND and the int type) available for some other potential action, I don't know what.
I realize that it's an insignificant issue, but, his return statements are often of this style (and he never returns a this*). Weird.
GeneralRe: Why Use this Return Statement? Pin
Neville Franks30-Jun-03 13:15
Neville Franks30-Jun-03 13:15 
QuestionResource folder is missing? Pin
DaveE9th30-Jun-03 9:59
DaveE9th30-Jun-03 9:59 
AnswerRe: Resource folder is missing? Pin
Dave Bryant30-Jun-03 11:22
Dave Bryant30-Jun-03 11:22 
GeneralRe: Resource folder is missing? Pin
DaveE9th1-Jul-03 4:59
DaveE9th1-Jul-03 4:59 
GeneralQuick Instance Handle Question Pin
fluxt30-Jun-03 9:26
fluxt30-Jun-03 9:26 
GeneralRe: Quick Instance Handle Question Pin
Peter Weyzen30-Jun-03 9:31
Peter Weyzen30-Jun-03 9:31 
GeneralRe: Quick Instance Handle Question Pin
fluxt30-Jun-03 9:37
fluxt30-Jun-03 9:37 
GeneralRe: Quick Instance Handle Question Pin
basementman30-Jun-03 11:14
basementman30-Jun-03 11:14 
GeneralSocks Proxy in Winsock :: Winsock Pin
valikac30-Jun-03 8:54
valikac30-Jun-03 8:54 
GeneralRe: Socks Proxy in Winsock :: Winsock Pin
Peter Weyzen30-Jun-03 9:19
Peter Weyzen30-Jun-03 9:19 
Generalcreating an array of the corect size Pin
johnstonsk30-Jun-03 7:52
johnstonsk30-Jun-03 7:52 
GeneralRe: creating an array of the corect size Pin
David Crow30-Jun-03 8:22
David Crow30-Jun-03 8:22 
GeneralRe: creating an array of the corect size Pin
Dean Goodman30-Jun-03 8:52
Dean Goodman30-Jun-03 8:52 
GeneralRe: creating an array of the corect size Pin
johnstonsk30-Jun-03 9:13
johnstonsk30-Jun-03 9:13 
GeneralRe: creating an array of the corect size Pin
johnstonsk30-Jun-03 9:21
johnstonsk30-Jun-03 9:21 
GeneralRe: creating an array of the corect size Pin
johnstonsk30-Jun-03 9:26
johnstonsk30-Jun-03 9:26 
GeneralCOnvert CEdit to string Pin
keegan30-Jun-03 7:15
keegan30-Jun-03 7:15 

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.