Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C++ > Edit control accepting type double/float?

Reply
Thread Tools

Edit control accepting type double/float?

 
 
Rikkert
Guest
Posts: n/a
 
      06-28-2004
I am trying to make an Edit control that accepts only numbers and one
point (i.e. only accepting input of type 'double' or 'float').
Can this be done without using MFC?

The standard options for the Edit control seem to be either accepting
all character input, or only integer number input, which doesn't quite
cut it...

Any tips are appreciated!

Rikkert
 
Reply With Quote
 
 
 
 
John Harrison
Guest
Posts: n/a
 
      06-28-2004

"Rikkert" <> wrote in message
news: om...
> I am trying to make an Edit control that accepts only numbers and one
> point (i.e. only accepting input of type 'double' or 'float').
> Can this be done without using MFC?
>
> The standard options for the Edit control seem to be either accepting
> all character input, or only integer number input, which doesn't quite
> cut it...
>


Standard C++ only in this group. Try
news:comp.os.ms-windows.programmer.win32 you are off topic here (both
times).

john


 
Reply With Quote
 
 
 
 
Rikkert
Guest
Posts: n/a
 
      06-28-2004
sorry about that...
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Template accepting partial type names? Klaus C++ 0 07-04-2008 10:03 AM
GridView control enters edit mode when I click Edit link twice Jaime Stuardo ASP .Net Web Controls 0 04-07-2006 12:47 AM
Snapshot restraint - edit, edit, edit Alan Browne Digital Photography 24 05-10-2005 10:15 PM
Snapshot restraint - edit, edit, edit Patrick Digital Photography 0 05-06-2005 10:53 PM
Itemplate not accepting postback in data-bound templated control cosine... zero ASP .Net 0 06-09-2004 06:49 PM



Advertisments