Text Boxes

This is a discussion on Text Boxes within the Windows Programming forums, part of the Platform Specific Boards category; How do I create a textbox in Win32 API? I don't know MFC, so please don't give me MFC code....

  1. #1
    31173 h4x0r gnu-ehacks's Avatar
    Join Date
    Nov 2001
    Posts
    556

    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, 12:34 AM
  2. Small HTML question
    By Thantos in forum Tech Board
    Replies: 4
    Last Post: 12-28-2003, 11:37 PM
  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

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