BrainDump
  Home arrow BrainDump arrow Page 2 - AppWizard and More in MFC
Iron Speed
ASP Free Forums 
.NET  
ASP  
ASP Code  
ASP.NET  
ASP.NET Code  
BrainDump  
C#  
Code Examples  
Database  
Database Code  
IIS  
Microsoft Access  
MS SQL Server  
Visual Basic.NET  
Windows Scripting  
Windows Security  
XML  
ASP Web Hosting  
ASP.NET Web Hosting 
Dedicated Servers 
Download TestComplete 
Windows Web Hosting
 
IBM® developerWorks 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
IBM Rational Software Development Conference
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
BRAINDUMP

AppWizard and More in MFC
By: Gabor Bernat
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 2
    2008-03-05

    Table of Contents:
  • AppWizard and More in MFC
  • Database support, user interface, and advanced features
  • Messages and the Properties Window
  • Messages and the Properties Window continued

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    Iron Speed
     
    ADVERTISEMENT

    Free Web 2.0 Code Generator! Generate data entry and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!

    AppWizard and More in MFC - Database support, user interface, and advanced features
    (Page 2 of 4 )


    Database support:

    • None – No support

    • Header files only – Basic support

    • Database view without file support - Includes database header files, link libraries, a record view, and a recordset.

    • Database view with file support – Add a file support to the prior option.

    At last, we go to a tab where we can choose some instantly visible options. We just have to choose whether or not we want them in our application:

    User Interface Features:

    • Thick frame - Creates a window that has a sizing border. It's default and useful.

    • Minimize box - The little minimize button in the right-upper corner. Default.

    • Maximize box – The maximize box for maximizing the window. Default.

    • Minimized – Open the main window as minimized at the start.

    • Maximized - Open the main window as maximized at the start.

    • System menu – If you require its presence, then put an affirmative in the box. Default.

    • About box – A dialog that every window has under Windows, so if you aren’t making a dialog based program, this is a mandatory option.

    • Initial status bar – Do we need the status bar? Default.

    • Split window – It will provide a splitter window like the Windows Explorer.

    • Toolbars:

      • None – We don’t want a toolbar.

      • Standard docking – Just a plain standard docking toolbar will be added. Default.

      • Browser style – The Toolbar will get a more evolved, Internet-Explorer like toolbar.

    Before reaching the end, we cannot forget that there are some advanced options. To understand this you may need some superior knowledge of MFC and this article series isn’t covering that. So this part will just be mentioned. However, for a more in-depth view on each of them, don’t neglect the power of Google.

    f) Advanced Features

    • Context-sensitive help – Generate a help file. There are two types, a WinHelp and an HTML format, but the first one isn’t supported anymore.

    • Printing and Print Preview – Says it all, nothing to add.

    • Automation - Specifies that the application can manipulate objects implemented in another application or exposes the application to Automation clients.

    • ActiveX controls – Supported or not. Supported by default.

    • MAPI (Messaging API) – Stays for e-mail handling.

    • Windows sockets – This stays for network connection over TCP/IP. Only needed if you are creating network capable software.

    • Active Accessibility - Allows you to customize the user interface for better interaction with accessibility clients.

    • Common Control Manifest - Generates an application manifest to enable the new Common Control DLL shipped with Microsoft Windows XP.

    • Number of files on recent file list – Choose how many files you want to have on the most recently used list. Anything from 0 (or none, which removes the recent file list from the menu) to 16 will go.

    We finally reached the last tab. It can be described in just a paragraph. This is the place where the created classes/files names need to be confirmed. If you read the previous part, you already know which is assigned to which.

    Now you have reached the end and right away AppWizard asks you if you are satisfied with the files that are to be created. In most cases, the naming is correct and you only need to confirm it. You may change the name of the header file, the implementation file, and class name, or for more advanced users, the class from which the created classes are derived.

    More BrainDump Articles
    More By Gabor Bernat


     

    BRAINDUMP ARTICLES

    - Multiple Service Contracts and Indigo
    - Cleaning Out Your Programs in XP
    - Handling Metadata with Indigo
    - Building Blocks for a WCF Service Web Site
    - Help! I Need Some Remote Assistance
    - Using Service Templates with Indigo
    - Windows XP Tips for Task Manager
    - Generating Clients and Services with Indigo
    - Vista SP1, A Review
    - Services and the WCF
    - VBScript: Final Date Functions
    - Creating Services with the WCF
    - The Resource View of the MFC
    - VBScript: More Fun with the Date Functions
    - Vista Price Cuts Dissected




    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway