| |

VerySource

 Forgot password?
 Register
Search
View: 634|Reply: 3

How do I wrap a string in a CEdit control?

[Copy link]

1

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-3-21 13:00:01
| Show all posts |Read mode
"\n", "\r\n" will not work, my brother is confused, heroes support
Reply

Use magic Report

0

Threads

6

Posts

6.00

Credits

Newbie

Rank: 1

Credits
6.00

 China

Post time: 2020-6-27 14:15:02
| Show all posts
ES_MULTILINE
Reply

Use magic Report

2

Threads

20

Posts

12.00

Credits

Newbie

Rank: 1

Credits
12.00

 China

Post time: 2020-6-27 14:30:01
| Show all posts
First, set the properties of the control to Multi Line (right button, properties)
Then press CTRL+ENTER to wrap
If you want to use ENTER to wrap, set the want return attribute
Reply

Use magic Report

0

Threads

3

Posts

4.00

Credits

Newbie

Rank: 1

Credits
4.00

 China

Post time: 2020-7-14 15:30:01
| Show all posts
The main thing is to set the property of the control to Multi Line.
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