Results 1 to 10 of 10

Thread: Mfc?

  1. #1

    Thread Starter
    Fanatic Member petrus's Avatar
    Join Date
    May 2002
    Location
    pBytes[sizeof(pBytes)/2]
    Posts
    553

    Mfc?

    I'm new to making windows in Visual C++, and don't really know what MFC is, i think it stands for "Microsoft Foundation Class", i know how to do a window with WNDCLASSEX,CreateWindowEx.
    What's MFC?
    ICQ: 128716725

  2. #2

    Smile

    Hi ,
    The MFC Library is a coloection of C++ classes and global function designed for the rapid develeopment of Microsoft Windows - based application .MFC offers many advantages to C++ develpers at all levels , from beginners to sesoned professionals . It simplifes Windows programming , shortens develpment time , and makes code more portagble wthout reducing programming freedom and flexibility . MFC provides easy access to hard to program thchnologies linke face features such as property sheet, print preview , shortcut menus and customizable folotati toolbars complete with Toolts..

  3. #3

    Thread Starter
    Fanatic Member petrus's Avatar
    Join Date
    May 2002
    Location
    pBytes[sizeof(pBytes)/2]
    Posts
    553
    I've heard on other places in this forum that MFC is really a bad thing, hard to code and makes the code more unreadable! is that true?
    ICQ: 128716725

  4. #4
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    It's difficult to code by hand -- if you work within the IDE it's dead simple and very quick to do.

    Portable? Hell no, it only works on Windows, and it makes *no* use of the STL which portable C++ programs should

    It doesn't necessarily mean unreadable; the unreadable parts are those auto-generated by the IDE which you shouldn't need anyway (they glue the dialogue items to the code).
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  5. #5

    Smile

    hi ,
    my brather .
    No the MFC is Good for programing , but it must deficalt in the first but it by mny programing you must ander stant it...

  6. #6
    The Devil crptcblade's Avatar
    Join Date
    Aug 2000
    Location
    Quetzalshacatenango
    Posts
    9,091
    Originally posted by rajab natshah
    hi ,
    my brather .
    No the MFC is Good for programing , but it must deficalt in the first but it by mny programing you must ander stant it...
    You seem overly excited about MFC...do you work for MS or something?

    Laugh, and the world laughs with you. Cry, and you just water down your vodka.


    Take credit, not responsibility

  7. #7

    Smile

    hi,
    Yes I'm take the trak of MCSD to make Ms aplecation
    this is my favorites new languages.. for my ..
    i'm good in vb but I wont to make brofetienal in VC++

  8. #8

    Thread Starter
    Fanatic Member petrus's Avatar
    Join Date
    May 2002
    Location
    pBytes[sizeof(pBytes)/2]
    Posts
    553
    Me? Nononono, i just wanted to know what it was!
    ICQ: 128716725

  9. #9
    The Devil crptcblade's Avatar
    Join Date
    Aug 2000
    Location
    Quetzalshacatenango
    Posts
    9,091
    Originally posted by rajab natshah
    hi,
    Yes I'm take the trak of MCSD to make Ms aplecation
    this is my favorites new languages.. for my ..
    i'm good in vb but I wont to make brofetienal in VC++
    Oh, well now I understand.

    Laugh, and the world laughs with you. Cry, and you just water down your vodka.


    Take credit, not responsibility

  10. #10
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    parksie: he probably meant the portability from 16-bit to 32-bit windows. It sure helped a lot there - you often only had to recompile.

    MFC is a nice thing to have. I actually don't think it's hard to read as long as you know what all the strange macros mean. It sure is impossible to read for a normal C++ programmer.

    You better get really familiar with the API and only then start programming with MFC if you want to.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width