MCPcopy Create free account
hub / github.com/78/tenbox / SfUpdateButtons

Function SfUpdateButtons

src/manager/ui/shared_folders_dialog.cpp:30–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28};
29
30static void SfUpdateButtons(HWND dlg, HWND listview) {
31 BOOL has_sel = ListView_GetNextItem(listview, -1, LVNI_SELECTED) >= 0;
32 EnableWindow(GetDlgItem(dlg, IDC_SF_REMOVE), has_sel);
33 EnableWindow(GetDlgItem(dlg, IDC_SF_OPEN), has_sel);
34}
35
36static void SfRefreshList(SfDlgData* data) {
37 HWND lv = data->listview;

Callers 1

SfDlgProcFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected