Thread: Newbie question

  1. #1
    Registered User
    Join Date
    Jan 2005
    Posts
    19

    Newbie question

    Hi,
    I'm total beginner at Win32 programming, and I have looked as many tutorials as I have found, but none have an swered my question, at least not directly...
    I want to know, how to assign the value user has typed to txt field to variable...
    Best regards,
    dogbert234.

  2. #2
    erstwhile
    Join Date
    Jan 2002
    Posts
    2,227
    This is ambiguous:

    >>the value user has typed to txt field to variable<<

    It would have been more useful to specify the type of variable you meant.

    numeric variable: GetDlgItemInt.
    string variable: GetWindowText.
    CProgramming FAQ
    Caution: this person may be a carrier of the misinformation virus.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Stupid Newbie question
    By TimL in forum C++ Programming
    Replies: 4
    Last Post: 07-22-2008, 04:43 AM
  2. C prog newbie question
    By Draginzuzu in forum C Programming
    Replies: 1
    Last Post: 02-03-2003, 06:45 PM
  3. a stupid question from a newbie
    By newcomer in forum C++ Programming
    Replies: 4
    Last Post: 01-11-2003, 04:38 PM
  4. confusion with integers (newbie question)
    By imortal in forum C Programming
    Replies: 7
    Last Post: 12-06-2002, 04:09 PM
  5. newbie class templates question
    By daysleeper in forum C++ Programming
    Replies: 2
    Last Post: 09-18-2001, 09:50 AM