?
Solved

turning off word wrap

Posted on 1998-02-15
3
Medium Priority
?
243 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 23

Accepted Solution

by:
chensu earned 120 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This is to be the first in a series of articles demonstrating the development of a complete windows based application using the MFC classes.  I’ll try to keep each article focused on one (or a couple) of the tasks that one may meet.   Introductio…
Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
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.
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Suggested Courses
Course of the Month12 days, 20 hours left to enroll

777 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