MCPcopy Create free account
hub / github.com/SOUI2/soui / DispatchMessage2Items

Method DispatchMessage2Items

SOUI/src/control/SListView.cpp:908–926  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

906 }
907
908 void SListView::DispatchMessage2Items(UINT uMsg,WPARAM wParam,LPARAM lParam)
909 {
910 SPOSITION pos = m_lstItems.GetHeadPosition();
911 while (pos)
912 {
913 ItemInfo ii = m_lstItems.GetNext(pos);
914 ii.pItem->SDispatchMessage(uMsg, wParam, lParam);
915 }
916 for(UINT i=0;i<m_itemRecycle.GetCount();i++)
917 {
918 SList<SItemPanel*> *pLstTypeItems = m_itemRecycle[i];
919 SPOSITION pos = pLstTypeItems->GetHeadPosition();
920 while(pos)
921 {
922 SItemPanel *pItem = pLstTypeItems->GetNext(pos);
923 pItem->SDispatchMessage(uMsg, wParam, lParam);
924 }
925 }
926 }
927
928 void SListView::OnShowWindow(BOOL bShow, UINT nStatus)
929 {

Callers

nothing calls this directly

Calls 4

GetHeadPositionMethod · 0.80
SDispatchMessageMethod · 0.80
GetNextMethod · 0.45
GetCountMethod · 0.45

Tested by

no test coverage detected