Click here to Skip to main content
15,914,488 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralApplication Instance Pin
Prateeti22-Aug-02 18:57
Prateeti22-Aug-02 18:57 
GeneralRe: Application Instance Pin
Chris Losinger22-Aug-02 19:01
professionalChris Losinger22-Aug-02 19:01 
GeneralFirewall Pin
sunwareinc@yahoo.com22-Aug-02 18:20
susssunwareinc@yahoo.com22-Aug-02 18:20 
GeneralRe: Firewall Pin
Philip Fitzsimons22-Aug-02 23:05
Philip Fitzsimons22-Aug-02 23:05 
GeneralAn ADO question Pin
Anonymous22-Aug-02 18:22
Anonymous22-Aug-02 18:22 
GeneralRe: An ADO question Pin
Todd Smith22-Aug-02 18:43
Todd Smith22-Aug-02 18:43 
Generalfloats and doubles/Visual Studio C++6 Pin
dlm444422-Aug-02 17:33
dlm444422-Aug-02 17:33 
GeneralRe: floats and doubles/Visual Studio C++6 Pin
Paul M Watt22-Aug-02 18:52
mentorPaul M Watt22-Aug-02 18:52 
You will have to manage the data yourself, Win32 does not provide any extra processing for numbers and things like that.

If you simply want the data to be displayed in a particular format you can wait for the edit control to lose focus then reformat the data yourself from the parent control.

However if you want to limit the characters that the user can type in and the format of their text you will have to do something a little more complicated. I would suggest subclassing the edit control to limit these characters.

Before you do that though I would search through this site and the internet, someone else has probably already created a control like this that you could use.

Good Luck


Build a man a fire, and he will be warm for a day
Light a man on fire, and he will be warm for the rest of his life!

GeneralGDI Resource Issue Pin
Stew22-Aug-02 17:31
Stew22-Aug-02 17:31 
GeneralRe: GDI Resource Issue Pin
Tomasz Sowinski22-Aug-02 22:26
Tomasz Sowinski22-Aug-02 22:26 
GeneralRe: GDI Resource Issue Pin
Matthew R. Miller23-Aug-02 5:13
Matthew R. Miller23-Aug-02 5:13 
QuestionHow to create a callback function? Pin
duen22-Aug-02 17:25
duen22-Aug-02 17:25 
AnswerRe: How to create a callback function? Pin
Todd Smith22-Aug-02 18:01
Todd Smith22-Aug-02 18:01 
GeneralRe: How to create a callback function? Pin
Matthew R. Miller23-Aug-02 5:15
Matthew R. Miller23-Aug-02 5:15 
GeneralDate class question Pin
philll22-Aug-02 17:22
philll22-Aug-02 17:22 
GeneralRe: Date class question Pin
Chris Losinger22-Aug-02 17:25
professionalChris Losinger22-Aug-02 17:25 
GeneralRe: Date class question Pin
philll22-Aug-02 17:29
philll22-Aug-02 17:29 
GeneralRe: Date class question Pin
Chris Losinger22-Aug-02 17:33
professionalChris Losinger22-Aug-02 17:33 
GeneralRe: Date class question Pin
philll22-Aug-02 17:41
philll22-Aug-02 17:41 
QuestionWhich STL container to choose? Pin
ns22-Aug-02 16:50
ns22-Aug-02 16:50 
AnswerRe: Which STL container to choose? Pin
Todd Smith22-Aug-02 17:19
Todd Smith22-Aug-02 17:19 
AnswerRe: Which STL container to choose? Pin
Paul M Watt22-Aug-02 19:15
mentorPaul M Watt22-Aug-02 19:15 
GeneralRe: Which STL container to choose? Pin
Tomasz Sowinski22-Aug-02 22:16
Tomasz Sowinski22-Aug-02 22:16 
GeneralRe: Which STL container to choose? Pin
Paul M Watt22-Aug-02 22:47
mentorPaul M Watt22-Aug-02 22:47 
GeneralThanks everyone! Pin
ns23-Aug-02 3:05
ns23-Aug-02 3:05 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.