Thread: simple text dialog ok cancel

  1. #1
    Registered User
    Join Date
    Jan 2002

    simple text dialog ok cancel

    I don't want to read three hundred msdn pages, I just want to know how to create a simple text box [like the run box, i suppose] in which the user can type something [like hello, i suppose] and then press okay [with the mouse, i suppose] and I'd like to then go on to use the string they entered in my program [like for a computer, i suppose]

    something like

    char stringy[BUFSIZ];

    except [i suppose] it would probably be more complicated

  2. #2
    It's full of stars adrianxw's Avatar
    Join Date
    Aug 2001
    Tip: Sooner or later you re going to have to learn to RTFM, you may as well get used to it now, before you're life depends on it.

    Topics for research: Dialog boxes, edit controls, button controls, GetDlgItemText() API function.
    Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. creating very simple text editor using c
    By if13121 in forum C Programming
    Replies: 9
    Last Post: 10-19-2010, 05:26 PM
  2. Automatically enter text in a dialog box
    By leojose in forum Windows Programming
    Replies: 6
    Last Post: 12-13-2005, 11:59 AM
  3. Help on simple text console prog...
    By Azh321 in forum C++ Programming
    Replies: 2
    Last Post: 11-26-2003, 07:03 AM
  4. Simple method of coloured text?
    By SPiRiToFCaT in forum C++ Programming
    Replies: 3
    Last Post: 09-04-2002, 09:46 PM
  5. Tab Controls - API
    By -KEN- in forum Windows Programming
    Replies: 7
    Last Post: 06-02-2002, 09:44 AM