Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » RichText,QTF,RTF... » Spelling Button on RichEdit
Spelling Button on RichEdit [message #21870] Mon, 08 June 2009 19:47 Go to next message
jeremy_c is currently offline  jeremy_c
Messages: 175
Registered: August 2007
Location: Ohio, USA
Experienced Member
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
Re: Spelling Button on RichEdit [message #22026 is a reply to message #21870] Sun, 14 June 2009 22:49 Go to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
jeremy_c wrote on Mon, 08 June 2009 13:47

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).

Check RichEditWithToolBar

Mirek
Previous Topic: Spelling Dictionary?
Next Topic: Inserting text into the current cursor position
Goto Forum:
  


Current Time: Fri Mar 29 06:08:09 CET 2024

Total time taken to generate the page: 0.01433 seconds