Edit control accepting type double/float?

Discussion in 'C++' started by Rikkert, Jun 28, 2004.

  1. Rikkert

    Rikkert Guest

    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
     
    Rikkert, Jun 28, 2004
    #1
    1. Advertising

  2. "Rikkert" <> wrote in message
    news:...
    > 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
     
    John Harrison, Jun 28, 2004
    #2
    1. Advertising

  3. Rikkert

    Rikkert Guest

    sorry about that...
     
    Rikkert, Jun 28, 2004
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. JKop
    Replies:
    4
    Views:
    16,528
  2. Sydex
    Replies:
    12
    Views:
    6,508
    Victor Bazarov
    Feb 17, 2005
  3. bd
    Replies:
    0
    Views:
    635
  4. Florian Lindner
    Replies:
    1
    Views:
    644
  5. Carsten Fuchs
    Replies:
    45
    Views:
    1,561
    James Kanze
    Oct 8, 2009
Loading...

Share This Page