Solved

turning off word wrap

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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone 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

Suggested Solutions

Title # Comments Views Activity
Unix / Linux grid computing 5 162
VBA "SendKeys" Syntax for Multiple Keystrokes 7 116
isEverywhere  challenge 19 82
tripleUp challenge 7 86
Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
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.

765 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