Solved

Right Justify CEdit Box

Posted on 1997-11-13
2
365 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
[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 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: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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
Prevent this page from creating additional dialogs. 3 715
post4 challenge 28 113
Thin secure Windows 10 5 107
I could not set window to top 4 40
In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
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…
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.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

740 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