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 |
|
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.
-
Attachment: Image.png
(Size: 8.96KB, Downloaded 384 times)
Warm Regards
Deepak
[Updated on: Tue, 06 October 2015 15:55] Report message to a moderator
|
|
|
|
Goto Forum:
Current Time: Thu Apr 18 12:34:16 CEST 2024
Total time taken to generate the page: 0.01965 seconds
|