Solved

Right Justify CEdit Box

Posted on 1997-11-13
2
364 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
ID: 1309914
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
ID: 1309915
Where is this separate style to make the textbox numeric only, and how do you set it?
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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
Installing Microsoft R server on REDHAT or SUSE Linux 4 147
Unix / Linux grid computing 5 163
Named range not carried over 10 65
how to monitor remote shell execution on linux 9 104
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: 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…
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.
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

856 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