MCPcopy Create free account
hub / github.com/AutoHotkey/AutoHotkey / GetControlCountOnTabPage

Method GetControlCountOnTabPage

source/script_gui.cpp:10151–10158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10149
10150
10151int GuiType::GetControlCountOnTabPage(TabControlIndexType aTabControlIndex, TabIndexType aTabIndex)
10152{
10153 int count = 0;
10154 for (GuiIndexType u = 0; u < mControlCount; ++u)
10155 if (mControl[u]->tab_index == aTabIndex && mControl[u]->tab_control_index == aTabControlIndex) // This boolean order helps performance.
10156 ++count;
10157 return count;
10158}
10159
10160
10161

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected