Questions tagged [richedit-control]
33 questions
0
votes
0 answers
C++ WIN32 RichEdit Control don't put stream
I try to put datas to my RichEdit50W but it doesn't work. I really need help.
My function CreateRichEdit :
void CreateRichEdit(HWND hwndOwner, int x, int y, int width, int height, HINSTANCE hinst)
{
LoadLibrary(TEXT("Msftedit.dll"));
…

user2274060
- 896
- 5
- 18
- 35
0
votes
1 answer
How to find underlined text in a rich edit?
Apologies if the formatting below is a bit off.
Trying to get the underlined text from a Richedit control to determine if it's a hyperlink when clicked.
This code worked in Delphi 2007 and below. I know there's a TCharFormat2 structure and the…

BrownFox97
- 393
- 1
- 3
- 9
0
votes
0 answers
How to detect rich edit content in C++
How could I detect whether an edit control support rich content in windows with C++ code, for example, I could copy/paste an image into it.
Additionally, If I get the HWND of the foreground window, how could I get the edit control, but not the frame…

Chen
- 1
- 1
0
votes
0 answers
ArgumentException constructing RoutedEventArgs with MouseDownEvent
I am trying to simulate a mouse click on a RichEditControl. The underlying problem I am trying to solve is to set Focus on this control if the user takes another action without ever having clicked the RichEditControl first. Seems that if you bring…

Bob Kaufman
- 12,864
- 16
- 78
- 107
0
votes
1 answer
Seek a Java advanced tree component (include Windowless Richedit Control function)
I love BooguNote very much (it's a Sharp tool for collecting and organizing information scraps) But what a pity it just run under windows currently.
I tried to build a Java version for BooguNote so I can run it under linux (first step: I want to…

Isaac LI
- 11
- 1
- 5
0
votes
1 answer
Get the format of a char in a CRichEditCtrl (or RichTextBox) without selecting it
Either C++ or C# solutions are welcome.
I have the index of a character in a text displayed in a RichEditCtrl. I need to know its format (is it bold, red, etc) without selecting it.
Thank you all.
user1908746
0
votes
1 answer
Color change in Rich Edit Control
when you erase a coloured text. By default, the control sets the new entered text colour back to that was recently erased. how can you avoid that? do you need to check each character style before you type?
UPDATE:
I'm trying to set the text color…

cpx
- 17,009
- 20
- 87
- 142
0
votes
1 answer
Visual c++ load rtf document contains images and text in richedit box?
I am currently working on a project. I have an rtf file which contains some text and images both. I need to display those images and text from rtf to richtextbox in Visual C++. We are not using .Net frameworks or MFC's so everything is in Visual C++…

Bharat Sharma
- 3,926
- 2
- 17
- 29
0
votes
2 answers
How to insert mathematical symbol in metro app
Looks like RichEditBox supports math editing and display http://blogs.msdn.com/b/murrays/archive/2012/03/03/richedit-8-0-preview.aspx in Windows 8,
but when I copy/paste mathematical equations from MS word doc, they are treated as image and editing…

Shefali
- 1,065
- 2
- 11
- 13
0
votes
3 answers
how to auto scrolldown a richedit textbox win32 c/c++
here is my code that appends messages to the richedit text box:
CHARFORMAT cf;
memset( &cf, 0, sizeof cf );
cf.cbSize = sizeof cf;
cf.dwMask = CFM_COLOR;
if (getuserofmessage(msg) == myname)
cf.crTextColor = RGB(0,0,255);// <----- the color of the…

user1397417
- 708
- 4
- 11
- 34
0
votes
1 answer
Output formatted text to Screen
I have a vector that stores pairs. Each pair contains a CString and a bool.
If the CString is meant to be underlined then bool is true, else it is false.
I want to output the text in the vector to the screen making sure that text is underlined in…

user3126297
- 159
- 2
- 3
- 10
0
votes
1 answer
Detecting newline character in rich edit text control
I'm trying split some text typed into a text edit control into individual words to put them in an array.......any newline characters should be put into an array as well. The problem is I'm having trouble detecting newline characters along the…

user2361103
- 97
- 2
- 12
0
votes
1 answer
CDialog::Create () method is failing on vista windows 7 32 bit PC
CDialog::Create() is failing on Win7 32 bit PC because dialog have
Richedit control.
Once i remove that control from dialog,It got created but i need
Richedit control.
Why CDialog::Create() is fails when i use Richedit control ? Also i
…

bala
- 275
- 2
- 3
- 13
0
votes
1 answer
Richedit control htmltext table formatting
I am using richeditcontrol in C#. I want to display a table(html) in this control. I did it but now I want to change font size and color of celltext, it did not work :/
Here is my code:
String htmlBilgi = "