| |

VerySource

 Forgot password?
 Register
Search
View: 608|Reply: 4

How to make richeditview remove the word wrap function?

[Copy link]

2

Threads

4

Posts

5.00

Credits

Newbie

Rank: 1

Credits
5.00

 China

Post time: 2020-1-26 15:20:01
| Show all posts |Read mode
I add a picture in richeditview because the picture is relatively large and the loading is incomplete. If I reduce the figure and the picture is too small, I still want to be a bit larger, but it seems that the word wrap is set in the view, so it cannot be achieved.
In addition, is there a vc interface in auto cad? I want to load some functions in the auto cad graphics, such as: load two buttons, when a function is realized on time, how should it be achieved?
Thank you!
Reply

Use magic Report

0

Threads

2

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 China

Post time: 2020-2-18 12:30:01
| Show all posts
It's not easy to remember, it seems to change a property of CRichEditView
m_nWordWarp = NoWarp
Don't know the name of the attribute, right?
Reply

Use magic Report

2

Threads

4

Posts

5.00

Credits

Newbie

Rank: 1

Credits
5.00

 China

 Author| Post time: 2020-2-22 15:30:02
| Show all posts
Don't see where this attribute is?
Is there a second question that nobody can answer?
Reply

Use magic Report

0

Threads

45

Posts

32.00

Credits

Newbie

Rank: 1

Credits
32.00

 Invalid IP Address

Post time: 2020-3-19 12:45:02
| Show all posts
m_nWordWrap = WrapNone;
Reply

Use magic Report

0

Threads

2

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 China

Post time: 2020-3-24 12:15:01
| Show all posts
xietao405positive solution
Set directly in the code
Such as in the constructor
m_nWordWrap = WrapNone;
Just fine.
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