| |

VerySource

 Forgot password?
 Register
Search
View: 792|Reply: 6

How to add richedit control, not at all! (Online etc ...)

[Copy link]

1

Threads

3

Posts

4.00

Credits

Newbie

Rank: 1

Credits
4.00

 China

Post time: 2020-1-6 23:30:01
| Show all posts |Read mode
I want to replace the original editbox control with a richedit control, but I do n’t know how to add it, please advise!
thanks!
Reply

Use magic Report

1

Threads

3

Posts

4.00

Credits

Newbie

Rank: 1

Credits
4.00

 China

 Author| Post time: 2020-1-7 13:06:01
| Show all posts
That is how to add a richedit control to the dialog ...
Reply

Use magic Report

0

Threads

5

Posts

4.00

Credits

Newbie

Rank: 1

Credits
4.00

 France

Post time: 2020-1-8 23:00:02
| Show all posts
The fifth from the bottom of the control box is richedit
Reply

Use magic Report

1

Threads

3

Posts

4.00

Credits

Newbie

Rank: 1

Credits
4.00

 China

 Author| Post time: 2020-1-8 23:45:01
| Show all posts
Solved.
Reply

Use magic Report

0

Threads

57

Posts

27.00

Credits

Newbie

Rank: 1

Credits
27.00

 China

Post time: 2020-1-13 16:00:01
| Show all posts
May require LoadLibray FreeLibray
Reply

Use magic Report

2

Threads

19

Posts

11.00

Credits

Newbie

Rank: 1

Credits
11.00

 United States

Post time: 2020-1-31 09:00:02
| Show all posts
COM must be initialized in the application InitInstance (), otherwise the added Rich control will fail at runtime
AfxOleInit ();
Or AfxInitRichEdit ();
Reply

Use magic Report

0

Threads

6

Posts

7.00

Credits

Newbie

Rank: 1

Credits
7.00

 Invalid IP Address

Post time: 2020-3-14 01:45:01
| Show all posts
Add AfxInitRichEdit () to InitInstance ();
Otherwise, the dialog box cannot be displayed when the program is running.
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list