Textboxes

This is a discussion on Textboxes within the Windows Programming forums, part of the Platform Specific Boards category; Where can I find stuff about making text boxes, and other things from the windows API....

  1. #1
    Programmer Frantic-'s Avatar
    Join Date
    Dec 2004
    Posts
    114

    Textboxes

    Where can I find stuff about making text boxes, and other things from the windows API.

  2. #2
    Registered User Queatrix's Avatar
    Join Date
    Apr 2005
    Posts
    1,342
    CreateWindow() doesn't only create your main window, it creates edit boxes and buttons to.

  3. #3
    Programmer Frantic-'s Avatar
    Join Date
    Dec 2004
    Posts
    114
    So would I type something like this?
    CreateWindow(EDIT,username,NULL,0,0,100,20,NULL,NU LL,husername,NULL);

  4. #4
    C++ Enthusiast jmd15's Avatar
    Join Date
    Mar 2005
    Location
    MI
    Posts
    532
    Yeah close, something like this:
    Code:
    HWND edit=CreateWindowEx(WS_EX_CLIENTEDGE,TEXT("Edit"),"",WS_CHILD|WS_VISIBLE,
    x,y,iWidth,iHeight,hwnd,
    (HMENU)EDIT,hInstance,NULL);
    Just follow this link to see the syntax for CreateWindowEx.
    Trinity: "Neo... nobody has ever done this before."
    Neo: "That's why it's going to work."
    c9915ec6c1f3b876ddf38514adbb94f0

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. xuni: a Graphical User Interface Widget Toolkit
    By dwks in forum Projects and Job Recruitment
    Replies: 45
    Last Post: 06-04-2008, 03:35 PM
  2. validation of TextBoxes!?
    By c9dw2rm8 in forum C# Programming
    Replies: 1
    Last Post: 04-01-2008, 07:19 PM
  3. What are some good beginner programs I shouold make?
    By oobootsy1 in forum C# Programming
    Replies: 6
    Last Post: 08-09-2005, 03:02 PM
  4. Splitting a dialog up into multiple classes
    By Just in forum Windows Programming
    Replies: 1
    Last Post: 05-30-2005, 12:11 AM
  5. buttons and textboxes
    By Flucas in forum Windows Programming
    Replies: 2
    Last Post: 07-03-2002, 04:38 AM

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