Thread: A simple done with it by answering :P

  1. #1
    Registered User
    Join Date
    Jan 2006

    Talking A simple done with it by answering :P

    /* I got considerable c++ coding knowledge now (hope its not arrogant to say this)
    Been coding console applications since 3 years at college and i usually go about lending everyone a hand when they got bugs or errors in their codes.

    */ ignore

    /*Still its a college and no IT firm so i know nothing about MFC or Win32 API.*/ ignore

    I now want to add some GUI to some of my old programmes.Like pop in a window with browse tabs.Perhaps the window could also display the list of the movies i have on c drive (which is something that my code does now but in console)

    whats the best way to learn MFC...or should i be learning win32 API....

    P.S: I only wanna code in c++ and not c

    any nice tutorials for mfc with VS 2005...most of them out there are VS 6.XX MFC tutorials

    Loads of an aspiring coder out :P
    I am in love with c++...Hence i broke off with my girl

  2. #2
    Kernel hacker
    Join Date
    Jul 2007
    Farncombe, Surrey, England
    I personally find MFC easier to work with - but I haven't done much work in either Win32 or MFC.

    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  3. #3
    Registered User
    Join Date
    Jan 2007
    Euless, TX
    The only way you're going to learn MFC programming is to either take a course in it, or buy a book and learn from that. If you're really serious about VC++ programming, then you need the VC++ bboks that are prepared by Microsoft. These books contain all the API functions you're likely to ever use and need. You can't program without knowing how to use them. So I would look on "" and try to find the latest book that covers whatever version of VC++ you have (or an MFC version). Good luck. You are about to enter the most complex of C++ programming.

  4. #4
    Join Date
    Oct 2007
    Inside my computer
    With MFC, what you would do is:
    Create a dialog resource.
    Right-click -> Add class. Name class and finish the wizard.
    In your code, include "name of your dialog class.h".
    Then just do
    NameOfYourDialogClass dlg;
    To show it.

    There's a similar function for creating a dialog from a resource, but I don't remember what it's named or how you use it (I've never actually used it). Though it will require your own window proc; MFC does not.
    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. Simple class question
    By 99atlantic in forum C++ Programming
    Replies: 6
    Last Post: 04-20-2005, 11:41 PM
  2. Simple question about pausing program
    By Noid in forum C Programming
    Replies: 14
    Last Post: 04-02-2005, 09:46 AM
  3. simple question.
    By InvariantLoop in forum Windows Programming
    Replies: 4
    Last Post: 01-31-2005, 12:15 PM
  4. Binary Search Trees Part III
    By Prelude in forum A Brief History of
    Replies: 16
    Last Post: 10-02-2004, 03:00 PM
  5. simple fgets question
    By theweirdo in forum C Programming
    Replies: 7
    Last Post: 01-27-2002, 06:58 PM