Advertisement

C++ question

Started by January 13, 2000 07:37 AM
0 comments, last by ggs 25 years, 1 month ago
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?
Out of the switch statement


-ns-
-ns-

This topic is closed to new replies.

Advertisement