Solved

turning off word wrap

Posted on 1998-02-15
3
238 Views
Last Modified: 2013-11-20
justa very quick q...how would I turn off word wrapping in a CEditView?
0
Comment
Question by:openGL
  • 2
3 Comments
 
LVL 23

Accepted Solution

by:
chensu earned 30 total points
ID: 1316218
theEditView.GetEditCtrl().ModifyStyle(0, ES_AUTOHSCROLL);
0
 

Author Comment

by:openGL
ID: 1316219
ok, put the line GetEditCtrl().ModifyStyle(0, ES_AUTOHSCROLL); in the CEditView's OnInitialUpdate function...doesn't seem to work though...just wraps just like before.  Hopefully what it should do is make a horizontal scrollbar when the text goes beyond the margin, and just keep the text on the correct line beyond the frame.
0
 

Author Comment

by:openGL
ID: 1316220
whoops...I'm sorry...made a silly mistake...everything's fine now
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Concerto provides fully managed cloud services and the expertise to provide an easy and reliable route to the cloud. Our best-in-class solutions help you address the toughest IT challenges, find new efficiencies and deliver the best application expe…

937 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now