ICPDAS WinCon-8000 Getting Started page 34

Table of Contents

Advertisement

"New" on the "File" menu to access forms. A dialog-based application, which does
provide menus, is also considered a forms-based application.
Users can apply the WCE MFC AppWizard (exe) to create a forms-based
application. When creating a new form, they have the choice to create a single
document interface or a dialog-based application.
A single document interface (SDI), forms-based application allows only one
instance of a particular form to run at a time. However, it is possible to run
different forms at the same time from an SDI, forms-based application by
selecting a new form from the "New" command in the File menu.
A dialog-based application is a form based application by definition. However,
if you choose this option, you will not be able to use the "New Form"
command on the Insert menu to add additional forms to the application. A
dialog-based application does not use the document/view architecture. So,
when you need to add forms, you have to manage the creation and access
methods for them.
The last step of the wizard lets you view and change settings for the classes
created by the wizard. For a single or multiple document interface application, you
should set "CformView" as the base class for the view class of your application. If your
application is database supported, you can also select any class that is derived from
"CformView". A form is any window derived from "CformView" or from any class that
comes from "CformView".
To create a demo for forms-based application
1. Firstly, users need to open the EVC
click the "New" to open a new program.
2.
In the "Projects" tab, select "WCE MFC AppWizard (exe)" and set the
Project name: "Demo" and the "Location" ,then select the location that you
want . Then, select "Win 32[WCE ARMV4]" in the CPUs list box and other
options if necessary. Finally click "OK" to start the wizard process, as shown
in the following figure.
WinCon-8000 Getting Start Manual-- 34
++
software. Then, in the "File" please

Advertisement

Table of Contents
loading

This manual is also suitable for:

W-8731

Table of Contents