MCPcopy Create free account
hub / github.com/Predelnik/DSpellCheck / activateAt

Method activateAt

deps/Controls/TabBar/TabBar.cpp:153–164  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

151}
152
153void TabBar::activateAt(int index) const
154{
155 if (getCurrentTabIndex() != index)
156 {
157 ::SendMessage(_hSelf, TCM_SETCURSEL, index, 0);
158 }
159 TBHDR nmhdr;
160 nmhdr.hdr.hwndFrom = _hSelf;
161 nmhdr.hdr.code = TCN_SELCHANGE;
162 nmhdr.hdr.idFrom = reinterpret_cast<UINT_PTR>(this);
163 nmhdr.tabOrigin = index;
164}
165
166void TabBar::deletItemAt(size_t index)
167{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected