Results 1 to 2 of 2

Thread: Empty Text Box

  1. #1
    Poster
    Join Date
    Jan 2003
    Location
    United Kingdom
    Posts
    1,184
    In Visual C++, how do you detect if an edit/text box is not filled in so you could use that in an if else statement?

    Thanks, I've only just started programming in MFC Windows.

  2. Software & Hardware   -   #2
    Forum Star
    Join Date
    Jun 2002
    Posts
    1,324
    I am sure there is a method to retrieve the contents of the textbox.

    Then check if contents.length() == 0

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •