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... » FindReplaceTool with right mouse click
Re: FindReplaceTool with right mouse click [message #45210 is a reply to message #45207] Tue, 06 October 2015 15:51 Go to previous messageGo to previous message
deep is currently offline  deep
Messages: 263
Registered: July 2011
Location: Bangalore
Experienced Member
Hi Luigi,

To achieve what you want do this,

Add Function with required menu bars

void UWord::PopUpBar(Bar& bar)
{
	editor.FindReplaceTool(bar);
	editor.UndoTool(bar);
	editor.RedoTool(bar);
}


Add this to editor.WhenBar like this in UWord constructor ( UWord::UWord ) at the end.
	editor.WhenBar << THISBACK(PopUpBar);

if you use "=" in place of "<<" then original menu will be replaced.
With "<<" new menu added to original menu.


index.php?t=getfile&id=4841&private=0
  • Attachment: Image.png
    (Size: 8.96KB, Downloaded 386 times)


Warm Regards

Deepak

[Updated on: Tue, 06 October 2015 15:55]

Report message to a moderator

 
Read Message
Read Message
Read Message
Previous Topic: Uword example: Save icon enabled only if file changed
Next Topic: Qtf and non UTF8 strings
Goto Forum:
  


Current Time: Thu Apr 25 11:13:31 CEST 2024

Total time taken to generate the page: 0.03659 seconds