0

How can I use Cyrillic strings in Win Form HelpProvider class?

That's what I got now:

  this.helpProvider.SetShowHelp(this.gaParametersText, true);
  this.helpProvider.SetHelpString(this.gaParametersText, "Введите переменные в виде границ поиска, например [0;1][0.7;1.9]"); 

It works fine, but there is an encryption problem.

enter image description here

How can I fix it?

Community
  • 1
  • 1
Pavel Oganesyan
  • 6,774
  • 4
  • 46
  • 84

2 Answers2

2

HelpProvider is quite outdated. Have you considered using ToolTip instead?

ToolTip toolTip1 = new ToolTip();
toolTip1.Show("Русский текст", this.gaParametersText)

If it's really necessary, I would suggest digging into pInvoking hhctrl.ocx for example, http://www.pinvoke.net/default.aspx/hhctrl.htmlhelp

Eugene
  • 179
  • 2
  • 7
1

It looks likes HelpProvider is poorly implemented. See this comment on HelpProvider and Unicode.

Richard Schneider
  • 34,944
  • 9
  • 57
  • 73