HRESULT InitSection(LPCWSTR key, LPCWSTR sectionCaption)

This method initializes the summary data that will be shown on the Summary page, as shown in Table 36. Call this method in your OnNextClicked method before calling SaveFields. This method always returns S_OK.

Table 36. HRESULT InitSection

Parameter

Description

Key

This parameter should be unique to your page. It is used to ensure that each page has its own summary information.

sectionCaption

The header that will be shown on the Summary page for this page’s summary information. Typically, you use DisplayName() as the value for this parameter.

 

Related Topics

IFormController Interface