Solved

Right Justify CEdit Box

Posted on 1997-11-13
2
353 Views
Last Modified: 2013-11-19
I am programming in VC++ 1.52 for Win3.11.  I am using a number of edit boxes in my tax application.  These edit boxes are for users to enter numeric data.  I would like these edit boxes to be right justified.  I looked at the styles for the control, but the only way to choose right justify is if you are using a Multi-Line Edit box.  I am not.

Any help is appreciated.

Thanks
0
Comment
Question by:mtgcpc
2 Comments
 
LVL 8

Accepted Solution

by:
MikeP090797 earned 50 total points
Comment Utility
You can create a multiline textbox, and just prevent the user from pressing Enter - via the WM_CHAR message. By the way, there is a separate style if you wan't the textbox be numeric only.
0
 

Author Comment

by:mtgcpc
Comment Utility
Where is this separate style to make the textbox numeric only, and how do you set it?
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

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: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
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.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

744 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

13 Experts available now in Live!

Get 1:1 Help Now