Thread: Cant Get Data From EditBox

  1. #1
    Registered User
    Join Date
    Mar 2002
    Posts
    88

    Cant Get Data From EditBox

    In MFC

    I have a dialog, and on it i have a simple EditBox
    i create a Varivle for this Editbox ( using the ID_EDIT in the Class View)

    but the varible is always NULL or 0 (never mind)
    and i cant get the data from the editbox

    what shoud i do ?
    THANKS!!

  2. #2
    C++ Developer XSquared's Avatar
    Join Date
    Jun 2002
    Location
    Ontario, Canada
    Posts
    2,718
    It would help if you showed us your code.
    Naturally I didn't feel inspired enough to read all the links for you, since I already slaved away for long hours under a blistering sun pressing the search button after typing four whole words! - Quzah

    You. Fetch me my copy of the Wall Street Journal. You two, fight to the death - Stewie

  3. #3
    Registered User
    Join Date
    Nov 2001
    Posts
    1,348
    One solution is GetWindowText().

    Kuphryn

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Where's the EPIPE signal?
    By marc.andrysco in forum Networking/Device Communication
    Replies: 0
    Last Post: 12-23-2006, 08:04 PM
  2. Program Crashing
    By Pressure in forum C Programming
    Replies: 3
    Last Post: 04-18-2005, 10:28 PM
  3. Errors
    By Rhidian in forum C Programming
    Replies: 10
    Last Post: 04-04-2005, 12:22 PM
  4. Binary Tree, couple questions
    By scoobasean in forum C Programming
    Replies: 3
    Last Post: 03-12-2005, 09:09 PM
  5. Replies: 1
    Last Post: 07-31-2002, 11:35 AM