Previous in Contents Next in Contents

Dialog Boxes

The following dialog sample files generate the dialog boxes required by a component.

File name Function
AddDlg.cpp Provides the Internet Cash Add dialog box for adding new instances of the sample CPC payment type (ATL Wizard generated).
EntPass.cpp Enables the Internet Cash Use dialog box that asks the user for a password on any modify operations on an instance of a CPC payment type.
ModDlg.cpp Provides the Modify Internet Cash dialog box for the user to modify an instance of the CPC payment type.
NewPass.cpp Adds the Password dialog box. The CPC uses a wizard to step the user through the process of adding a password.
PIPass.cpp Enables the Password dialog box that prompts the user for a password before posting information. Although this dialog box is not a requirement, you should provide the consumer with some notice when money is about to be spent. You must decide how to handle this prompting; instances such as microtransactions involving a few pennies may not warrant a warning. The Delete operation does not require a password. If a user forgets a password, the method of payment can be deleted and a new instance added.

The source files that enable sample dialog boxes are standard Microsoft Developer Studio™ Wizard creations; they interact with the user to obtain information specific to the CPC, and are not very rich in sample format. The Payment Selector has a certain level of richness in its user interface that you should support when building your own dialog boxes. For example, the Add Card Wizard in the Payment Selector contains instructions for the user to explain the process of adding and using a method of payment. While building your dialog boxes, maintain the same level of richness in the dialog box user interface that the Payment Selector user interface offers.


© 1997-2000 Microsoft Corporation. All rights reserved.