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

Method HandleCustomMessage

RedisStudio/MainFrameWhd.cpp:397–427  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

395}
396
397LRESULT CMainFrameWnd::HandleCustomMessage( UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled )
398{
399 LRESULT lRes = TRUE;
400 bHandled = TRUE;
401 switch(uMsg)
402 {
403 case WM_USER_CONNECTED:
404 lRes = OnConnected(*this, wParam, lParam);
405 break;
406 case WM_USER_UNCONNECT:
407 lRes = OnUnConnected(*this, wParam, lParam);
408 break;
409 case WM_USER_CONNECTING:
410 lRes = OnConnecting(*this, wParam, lParam);
411 break;
412 case WM_USER_UPDATE:
413 lRes = OnUpdate(*this, wParam, lParam);
414 default:
415 bHandled = FALSE;
416 break;
417 }
418 if (!bHandled)
419 {
420 for (int idx=0; idx<m_oTabContainer.GetSize(); ++idx)
421 {
422 AbstraceUI* p = (AbstraceUI*)m_oTabContainer.Find(m_oTabContainer[idx]);
423 p->HandleCustomMessage(uMsg, wParam, lParam, bHandled);
424 }
425 }
426 return lRes;
427}

Callers

nothing calls this directly

Calls 2

GetSizeMethod · 0.45
FindMethod · 0.45

Tested by

no test coverage detected