Thread: So I want to make a bunch of text area things

  1. #1
    Registered User
    Join Date
    Mar 2006
    Posts
    21

    So I want to make a bunch of text area things

    So I want to make an application/program with a bunch of text area things that the user can paste text into, and press some buttons and have the program process the text and spit out some new text in another text box.

    What's a good place to learn how to do that?

  2. #2
    the Great ElastoManiac's Avatar
    Join Date
    Nov 2005
    Location
    Republika Srpska - Balkan
    Posts
    377
    Find a book on C# if your interested in windows programming.
    lu lu lu I've got some apples lu lu lu You've got some too lu lu lu Let's make some applesauce Take off our clothes and lu lu lu

  3. #3
    Registered User
    Join Date
    Mar 2006
    Posts
    21
    Can I not do it with C?

  4. #4
    C++ Enthusiast jmd15's Avatar
    Join Date
    Mar 2005
    Location
    MI
    Posts
    532
    Of course you can do it with C. C# isn't anymore powerful than C is. Check out Charles Petzold's Windows Programming 5th edition, that is an EXCELLENT book for Win32 beginners.
    Trinity: "Neo... nobody has ever done this before."
    Neo: "That's why it's going to work."
    c9915ec6c1f3b876ddf38514adbb94f0

  5. #5
    Banned SniperSAS's Avatar
    Join Date
    Aug 2005
    Posts
    175
    yeah, I recomend petzold as well


    it sounds like you will be using CreateWindowEx to make some child windows with the EDIT and BUTTON in your lpClassName parameter

    http://msdn.microsoft.com/library/de...tewindowex.asp

    something like

    Code:
        hText = CreateWindowEx(WS_EX_CLIENTEDGE, "EDIT", "", 
            WS_CHILD, 
            -1, -1, 130, 550, hwnd, (HMENU)IDC_TEXT, GetModuleHandle(NULL), NULL);
    assuming "hwnd" is your main window and "IDC_TEXT" is a unique #define

    am I right guys

    edit- also you can use more styles then just WS_CHILD
    Last edited by SniperSAS; 05-12-2006 at 11:28 AM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Read from file and make few things
    By xxxrugby in forum C Programming
    Replies: 12
    Last Post: 07-15-2006, 10:13 AM
  2. Tab Controls - API
    By -KEN- in forum Windows Programming
    Replies: 7
    Last Post: 06-02-2002, 09:44 AM
  3. how to make 2 text window
    By bluexrogue in forum C Programming
    Replies: 2
    Last Post: 09-15-2001, 08:51 PM
  4. Looking for LA area programmers to make a demo for an RPG!!
    By Unregistered in forum C++ Programming
    Replies: 11
    Last Post: 08-31-2001, 09:08 PM
  5. How do I make a text box??
    By BubbleMan in forum Windows Programming
    Replies: 12
    Last Post: 08-24-2001, 02:31 AM