MCPcopy Create free account
hub / github.com/cinience/RedisStudio / MessageLoop

Method MessageLoop

DuiLib/Core/UIManager.cpp:1212–1228  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1210}
1211
1212void CPaintManagerUI::MessageLoop()
1213{
1214 MSG msg = { 0 };
1215 while( ::GetMessage(&msg, NULL, 0, 0) ) {
1216 if( !CPaintManagerUI::TranslateMessage(&msg) ) {
1217 ::TranslateMessage(&msg);
1218 try{
1219 ::DispatchMessage(&msg);
1220 } catch(...) {
1221 DUITRACE(_T("EXCEPTION: %s(%d)\n"), __FILET__, __LINE__);
1222 #ifdef _DEBUG
1223 throw "CPaintManagerUI::MessageLoop";
1224 #endif
1225 }
1226 }
1227 }
1228}
1229
1230void CPaintManagerUI::Term()
1231{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected