Thread: How do i link buttons?

  1. #1
    Registered User
    Join Date
    Nov 2010
    Posts
    2

    How do i link buttons?

    I have been doing some programing lately, however I would like to put them into Microsoft visual C++ express (I already know how to make buttons and place them along with the other tools) but my problem is that I can't find anywhere that tells me how to link them so that they do something, also I would like to learn how to link the other types of stuff in visual programing so that my programs are user friendly.

  2. #2
    Registered User rogster001's Avatar
    Join Date
    Aug 2006
    Location
    Liverpool UK
    Posts
    1,472

    programming?

    just what sort of programming exactly are you talking about? your post suggest a gui layer as opposed to you creating your own buttons in a graphics api , in which case you need to refer to the documentation and find out about the event handling programming interface. in either case you need to find how to manage events for your chosen development tool
    Last edited by rogster001; 11-08-2010 at 06:15 AM.
    Thought for the day:
    "Are you sure your sanity chip is fully screwed in sir?" (Kryten)
    FLTK: "The most fun you can have with your clothes on."

    Stroustrup:
    "If I had thought of it and had some marketing sense every computer and just about any gadget would have had a little 'C++ Inside' sticker on it'"

  3. #3
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Do you have access to Professional or higher edition? If so, you could use MFC. A quick MFC tutorial should get you started, then.
    Otherwise you may have to revert to Win32 API or some 3rd party framework such as Qt, wxWidgets, etc.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Help me please.
    By yann in forum C Programming
    Replies: 15
    Last Post: 09-29-2009, 09:04 PM
  2. Linked List, Please Help!
    By CodeMonkeyZ in forum C Programming
    Replies: 5
    Last Post: 02-17-2009, 06:23 AM
  3. I'm confused about link lists (again)
    By JFonseka in forum C Programming
    Replies: 4
    Last Post: 06-13-2008, 08:13 PM
  4. Function to check memory left from malloc and free?
    By Lechx in forum C Programming
    Replies: 4
    Last Post: 04-24-2006, 05:45 AM
  5. Request for comments
    By Prelude in forum A Brief History of Cprogramming.com
    Replies: 15
    Last Post: 01-02-2004, 10:33 AM