Solved

Editing a Dollar Amount Field

Posted on 1998-01-11
1
280 Views
Last Modified: 2010-04-10
Can someone tell me how I can Edit a Dollar Amount Field with Cents using an Edit Control or some other Control as it is being entered such as $100.00?

Also, Is there a Control that supports Edit Masks that will automatically edit the amount as it is being entered such as $ZZZZZZ.99 and how would I use it?

I am using VC++ 5.0

Thank You
Jerry
0
Comment
Question by:JJONES
1 Comment
 
LVL 7

Accepted Solution

by:
galkin earned 50 total points
Comment Utility
Use Microsoft Mask Edit Control shipped with VC++ and free redistributable.
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Errors will happen. It is a fact of life for the programmer. How and when errors are detected have a great impact on quality and cost of a product. It is better to detect errors at compile time, when possible and practical. Errors that make their wa…
Unlike C#, C++ doesn't have native support for sealing classes (so they cannot be sub-classed). At the cost of a virtual base class pointer it is possible to implement a pseudo sealing mechanism The trick is to virtually inherit from a base class…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

743 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

16 Experts available now in Live!

Get 1:1 Help Now