edit controls

This is a discussion on edit controls within the C Programming forums, part of the General Programming Boards category; Hello again peoples, so I was just learning how to use win32 api and I got stumped by how to ...

  1. #1
    That weird Java guy xniinja's Avatar
    Join Date
    Jun 2010
    Posts
    230

    edit controls

    Hello again peoples, so I was just learning how to use win32 api and I got stumped by how to put the text from edit into a variable when the user pushes a button, I already know how to do stuff when the user pushes a key down or something I just need to know the actual code that puts the characters into a char or something, your help is appreciated.
    Thank You.
    (this isn't for homework its just personal entertainment.)

  2. #2
    Just a pushpin. bernt's Avatar
    Join Date
    May 2009
    Posts
    426
    Edit_GetLine

    I don't think this adds a null character to the end of the string so you'll have to check the return value for the number of returned characters and do that yourself.
    Consider this post signed

  3. #3
    ATH0 quzah's Avatar
    Join Date
    Oct 2001
    Posts
    14,826
    You should be over in the Windows Programming forum for this.


    Quzah.
    Hope is the first step on the road to disappointment.

  4. #4
    That weird Java guy xniinja's Avatar
    Join Date
    Jun 2010
    Posts
    230
    I went to the link, thanks for that whole list of macros it will help alot.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Creating an Edit Box (Subclassing)
    By csonx_p in forum Windows Programming
    Replies: 9
    Last Post: 05-05-2008, 07:36 AM
  2. Multiline Edit Box Parser
    By The Brain in forum Windows Programming
    Replies: 6
    Last Post: 11-01-2005, 07:15 PM
  3. Subclassing controls
    By filler_bunny in forum Windows Programming
    Replies: 3
    Last Post: 04-28-2004, 06:43 PM
  4. Dialog Edit Control and Enter Key
    By Quantrizi in forum Windows Programming
    Replies: 2
    Last Post: 04-14-2004, 08:59 AM
  5. Tab Controls - API
    By -KEN- in forum Windows Programming
    Replies: 7
    Last Post: 06-02-2002, 10:44 AM

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