MCPcopy Create free account
hub / github.com/NetHack/NetHack / reset_menu_count

Function reset_menu_count

win/win32/mhmenu.c:1639–1649  ·  view source on GitHub ↗

-----------------------------------------------------------------------------*/

Source from the content-addressed store, hash-verified

1637}
1638/*-----------------------------------------------------------------------------*/
1639void
1640reset_menu_count(HWND hwndList, PNHMenuWindow data)
1641{
1642 int i;
1643 data->menui.menu.counting = FALSE;
1644 if (IsWindow(hwndList)) {
1645 i = ListView_GetNextItem((hwndList), -1, LVNI_FOCUSED);
1646 if (i >= 0)
1647 ListView_RedrawItems(hwndList, i, i);
1648 }
1649}
1650/*-----------------------------------------------------------------------------*/
1651/* List window Proc */
1652LRESULT CALLBACK

Callers 14

MenuWndProcFunction · 0.70
onListCharFunction · 0.70
SelectMenuItemFunction · 0.70
menu_selectFunction · 0.50
invert_lineFunction · 0.50
menu_keyFunction · 0.50
select_allFunction · 0.50
select_noneFunction · 0.50
invert_allFunction · 0.50
invert_matchFunction · 0.50
select_matchFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected