MCPcopy Create free account
hub / github.com/CobaltFusion/DebugViewPP / GetColumnRightOf

Function GetColumnRightOf

Libraries/PropertyGrid/PropertyGrid.h:962–974  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

960 }
961
962 int GetColumnRightOf(int column) const
963 {
964 int count = GetHeader().GetItemCount();
965 ATLASSERT(count < 100);
966 int order[100];
967 GetColumnOrderArray(count, order);
968 for (int i = 0; i < count - 1; ++i)
969 {
970 if (order[i] == column)
971 return order[i + 1];
972 }
973 return order[count - 1];
974 }
975
976 LRESULT OnNavigate(UINT /*uMsg*/, WPARAM wParam, LPARAM /*lParam*/, BOOL& /*bHandled*/)
977 {

Callers 1

OnNavigateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected