|
From: EviLToYLeT <evi...@us...> - 2004-08-28 18:38:24
|
Update of /cvsroot/notepro/pete-current/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22877/src Added Files: main.cpp Log Message: --- NEW FILE: main.cpp --- #include <windows.h> //include the windows header files #define WIN32_LEAN_AND_MEAN //reduce unnecessary windows controls LRESULT CALLBACK WndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam); //Program entrance point INT WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nShowCmd){ MessageBox(0,"Let's get this show on the road!", "Testing this",0); } LRESULT CALLBACK WndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam){ switch(msg){ default: return DefWindowProc(hwnd,msg,wParam,lParam); } } |