MFC: How to make a simple Web Browser?
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 1 of 1

Thread: MFC: How to make a simple Web Browser?

Hybrid View

  1. #1
    ovidiucucu's Avatar
    ovidiucucu is offline Moderator/Reviewer Power Poster
    Join Date
    Feb 2003
    Location
    Iasi - Romania
    Posts
    8,051

    MFC: How to make a simple Web Browser?

    Q: How to make a simple Web Browser?

    A: MFC AppWizard can help you to create a basic Internet Browser in less than one minute.

    Here are the steps to follow:

    • Visual C++ 6.0
      • choose "File/New/Project" menu item or press "Ctrl+N";
      • in "New" dialog box, type the project name and choose "MFC AppWizard(exe)";
      • push "OK" button; the "MFC Application Wizard" appears;
      • in MFC AppWizard - Step 1: select "Single document" then push "Next" button;
      • in MFC AppWizard - Step 2 to 5: push "Next" button;
      • in MFC AppWizard - Step 6: change the base class of view from default "CView" to "CHtmlView";
      • push "Finish" button; the "New Project Information" dialog appears;
      • push "OK" button.

    • Visual C++ 2002/2003/2005/2008/2010
      • choose "File/New/Project" menu item or press "Ctrl+Shift+N";
      • in "New Project" dialog box, type the project name, then choose "Visual C++ Projects/MFC" and "MFC Application;
      • push "OK" button; the "MFC Application Wizard" appears;
      • select Application type "Single document";
      • select from the left list "Generated Classes" item and change the base class for the view from default "CView" to "CHtmlView";
      • push "Finish" button.

    Further, if you want, you can enjoy improving it by adding features like an address bar and so on.

    See also:
    Last edited by ovidiucucu; October 23rd, 2011 at 06:18 AM.
    Ovidiu Cucu
    "When in Rome, do as Romans do."
    Visit: Microsoft Virtual Academy
    Follow: https://twitter.com/#!/ovidiucucu
    My blog: http://codexpert.ro/blog/author/ovidiu-cucu/

Tags for this Thread

Posting Permissions

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


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center