C++ question
Ok i''m using delphi BUT i''m using C++ help files (cant get a delphi translation of the code in WGPFD) I only have Delphi5 and not C/C++ so i cant test it my self
Here is the C++ code in question.
LRESULT CALLBACK WindowProc(HWND hwnd,
UINT msg,
WPARAM wparam,
LPARAM lparam)
{
// what is the message
switch(msg){
case WM_CREATE:{
// do initialization stuff here
return(0);
} break;
...
// process any messages that we didn''t take care of
return (DefWindowProc(hwnd, msg, wparam, lparam));
} // end WinProc
The break is used to exit the switch statment but does it jump to the end of the proc or out of the switch statment?
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement