Solved

turning off word wrap

Posted on 1998-02-15
3
241 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 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
In this post we will learn different types of Android Layout and some basics of an Android App.
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.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

730 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