MCPcopy Create free account
hub / github.com/OGSR/OGSR-Engine / SendMessage

Method SendMessage

ogsr_engine/xrGame/ui/UIWindow.cpp:596–604  ·  view source on GitHub ↗

обработка сообщений

Source from the content-addressed store, hash-verified

594
595//обработка сообщений
596void CUIWindow::SendMessage(CUIWindow* pWnd, s16 msg, void* pData)
597{
598 //оповестить дочерние окна
599 for (WINDOW_LIST_it it = m_ChildWndList.begin(); m_ChildWndList.end() != it; ++it)
600 {
601 if ((*it)->IsEnabled())
602 (*it)->SendMessage(pWnd, msg, pData);
603 }
604}
605
606CUIWindow* CUIWindow::GetCurrentMouseHandler() { return GetTop()->GetChildMouseHandler(); }
607

Callers 3

OnDbClickMethod · 0.45
SetMouseCaptureMethod · 0.45
SetKeyboardCaptureMethod · 0.45

Calls 3

beginMethod · 0.45
endMethod · 0.45
IsEnabledMethod · 0.45

Tested by

no test coverage detected