Textbox value problems.

This is a discussion on Textbox value problems. within the Windows Programming forums, part of the Platform Specific Boards category; How do I take the value from a textbox (or a field) and put it into a "double" variable? Do ...

  1. #1
    Registered User kinghajj's Avatar
    Join Date
    Jun 2003
    Posts
    218

    Textbox value problems.

    How do I take the value from a textbox (or a field) and put it into a "double" variable? Do I have to convert the value somehow beforhand? I'm using VC6 and am using the GraphApp programming library.

  2. #2
    pronounced 'fib' FillYourBrain's Avatar
    Join Date
    Aug 2002
    Posts
    2,297
    GetDlgItemText()

    and then use the string in an atof() call.
    "You are stupid! You are stupid! Oh, and don't forget, you are STUPID!" - Dexter

  3. #3
    Registered User kinghajj's Avatar
    Join Date
    Jun 2003
    Posts
    218

    ok....

    Which header(s) do I need?

  4. #4
    pronounced 'fib' FillYourBrain's Avatar
    Join Date
    Aug 2002
    Posts
    2,297
    uh...

    windows.h?

    What is the GraphApp library?
    "You are stupid! You are stupid! Oh, and don't forget, you are STUPID!" - Dexter

  5. #5
    Registered User kinghajj's Avatar
    Join Date
    Jun 2003
    Posts
    218

    Google it

    GraphApp is a cross-platform gui/graphics library. It currently supports Windows, Linux, and MacOS.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 2
    Last Post: 04-02-2009, 05:40 AM
  2. Replies: 5
    Last Post: 03-02-2009, 08:33 AM
  3. No clue how to make a code to solve problems!
    By ctnzn in forum C Programming
    Replies: 8
    Last Post: 10-16-2008, 03:59 AM
  4. contest problems on my site
    By DavidP in forum Contests Board
    Replies: 4
    Last Post: 01-10-2004, 09:19 PM
  5. problems with my first attempt at a Qt application...
    By Captain Penguin in forum C++ Programming
    Replies: 0
    Last Post: 10-01-2002, 10:14 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21