Solved

Right Justify CEdit Box

Posted on 1997-11-13
2
360 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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
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.
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

776 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