private void UpdateCue() { if (IsHandleCreated) { ControlExtensions.SendMessage(this, WindowMessages.EM_SETCUEBANNER, _cueFocused ? 1 : 0, _cueText); } }
private void SetShield(bool value) { ControlExtensions.SendMessage(this, WindowMessages.BCM_SETSHIELD, IntPtr.Zero, new IntPtr(value ? 1 : 0)); }
private void UpdateStatus() { ControlExtensions.SendMessage(this, WindowMessages.PBM_SETSTATE, (int)(_status)); }