The spelling button with the red "ABC" and the blue checkmark is always depressed for me. I can press it and the red underlines disappear on the spelling mistakes, but it stays depressed (selected). Clicking it again turns the red lines back on and it is still depressed/selected.
In UWord, that is not the case but I cannot see what I am doing differently. The only calls to editor are:
editor.DefaultBar(bar); // populate the toolbar
// Later
editor.AddFrame(toolbar);
editor.WhenAction = THISBACK(OnContentUpdate);
// And various calls to:
editor.GetData();
editor.SetData(content);
Jeremy
My guess is unassigned
Callback WhenRefreshBar;
(this tells your code to refresh the bar, after internal state of RichEdit changed).