buttons and textboxes

This is a discussion on buttons and textboxes within the Windows Programming forums, part of the Platform Specific Boards category; hey there, I'd just like to know if creating buttons and text boxes for a simple application window is a ...

  1. #1
    Registered User
    Join Date
    Oct 2001
    Posts
    18

    Question buttons and textboxes

    hey there,
    I'd just like to know if creating buttons and text boxes for a simple application window is a hard job. I just learned how to write a simple form application in windows and strewth - was that a mouthful of code.
    All I need is a simple text box for input and a command button to activate a function or two. I would use VB but the BASIC language doesn't cater for my needs (pointers, classes etc)

  2. #2
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,786
    If you have say VC++, you can implement this via the drag & drop resource editor that the compiler offers.......very like VB....and the code is minimal - much less than a normal window (No, WNDCLASSEX, No class registration)

  3. #3
    It's full of stars adrianxw's Avatar
    Join Date
    Aug 2001
    Posts
    4,831
    Once you have a working window, adding controls to it is not more complicated. If you can do one, you can certainly do the other. Let us know if you encounter a specific problem.

    You can add controls with an IDE as Fordy said, or in a resource file, or dynamically with CreateWindow(). Options, options options...

    Good luck.
    Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.

Popular pages Recent additions subscribe to a feed

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