🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

C++ question

Started by
0 comments, last by ggs 24 years, 5 months 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?
Advertisement
Out of the switch statement


-ns-
-ns-

This topic is closed to new replies.

Advertisement