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

Method set_enabled

src/common/WinApiControls.cpp:25–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23WinBase::~WinBase() = default;
24
25void WinBase::set_enabled(bool enabled) { EnableWindow(m_hwnd, enabled ? TRUE : FALSE); }
26
27bool WinBase::is_enabled() const {
28 return IsWindowEnabled(m_hwnd) != FALSE;

Callers 3

disable_controlsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected