Search found 1 match

by smetana
Wed Jun 28, 2006 11:09 am
Forum: C++ Development
Topic: MainLoop and events
Replies: 2
Views: 906

MainLoop and events

I created MyApp class (like in tutorial) and virtual int MainLoop(). But now events handling is not working. What should I change? I think I must use ProcessMessage, Pending and Dispatch, but I don't know how. int MyApp::MainLoop() { MSG msg; ZeroMemory( &msg, sizeof(msg) ); while( msg.message!=WM_Q...