Thread: Text Boxes

  1. #1

    Text Boxes

    How do I create a textbox in Win32 API? I don't know MFC, so please don't give me MFC code.
    What will people say if they hear that I'm a Jesus freak?
    What will people do if they find that it's true?
    I don't really care if they label me a Jesus freak, there is no disguising the truth!

    Jesus Freak, D.C. Talk

    -gnu-ehacks

  2. #2
    Registered User (TNT)'s Avatar
    Join Date
    Aug 2001
    Location
    UK
    Posts
    339
    Hi

    Below Headers:

    #define ID_MYEDIT 3460

    under where you create your main window:

    HWND hWndMyEdit = CreateWindow("EDIT", "", WS_CHILD | WS_VISIBLE, 10, 10, 200, 20, hWnd, (HMENU) ID_MYEDIT, hInstance, NULL);


    Hope that helps.

    Cheers
    TNT
    TNT
    You Can Stop Me, But You Cant Stop Us All

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. html text boxes
    By herWter in forum A Brief History of Cprogramming.com
    Replies: 12
    Last Post: 12-06-2008, 01:34 AM
  2. Small HTML question
    By Thantos in forum Tech Board
    Replies: 4
    Last Post: 12-29-2003, 12:37 AM
  3. Replies: 1
    Last Post: 07-13-2002, 05:45 PM
  4. Ok, Structs, I need help I am not familiar with them
    By incognito in forum C++ Programming
    Replies: 7
    Last Post: 06-29-2002, 09:45 PM
  5. Problem with static text in dialog boxes
    By Clyde in forum Windows Programming
    Replies: 11
    Last Post: 05-28-2002, 12:51 PM