Share via


Contact Chooser Flags (Compact 7)

3/12/2014

These flags define the behavior of the Contact Chooser. For more information, see ChooseContact.

Flag Value Description

CCF_DEFAULT

0x0000

Default view. The Property Chooser dialog box will be used when the selected Contact has values for two or more properties specified in CHOOSECONTACT::rgpropidRequiredProperties.

The "New" button is displayed.

CCF_HIDENEW

0x0001

Allows the user to create a new Contact from the Contact Chooser control.

CCF_CHOOSECONTACTONLY

0x0002

When set, the Property Chooser dialog box does not appear.

The first non-blank property specified in CHOOSECONTACT::rgpropidRequiredProperties is chosen.

CCF_CHOOSEPROPERTYONLY

0x0004

When set, the Contact Chooser dialog box does not appear.

The OID of the Contact to use is retrieved from the CHOOSECONTACT::oidContactID property.

CCF_RETURNCONTACTNAME

0x0008

When set, the Contact name is returned in the CHOOSECONTACT::bstrContactName property.

CCF_RETURNPROPERTYVALUE

0x0010

When set, the property value is returned in the CHOOSECONTACT::bstrPropertyValueSelected property.

CCF_FILTERREQUIREDPROPERTIES

0x0020

Filter required properties.

CCF_NOUIONSINGLEORNOMATCH

0x0040

When set, neither the Contact Chooser, nor the Property Chooser dialog boxes display for a single match, or for no matches.

CCF_NOUI

0x0080

When set, neither the Contact Chooser, nor the Property Chooser dialog boxes display.

CCF_ENABLEGAL

0x0100

When set, gives users the ability to search for contacts in the Global Address Book (GAL).

Gg154266.note(en-us,WinEmbedded.70).gifNote:
When the user views contacts in the Contacts application, and views them by Company, the Find Online option becomes unavailable (appears dimmed). For the Find Online option to reappear, the user must switch to View by Name (Menu > View By > Name).

CCF_ALLOWNEWCONTACTSELECTION

0x0200

When set, adds a New Contact option to the top of the Contact Chooser Listview. SIM Contact functionality is disabled. The SK2 menu is replaced with a Cancel button.

Requirements

Header

pimstore.h

Library

Pimstore.lib

See Also

Reference

Pocket Outlook Object Model Flags
ChooseContact
CHOOSECONTACT Structure
Contact Property ID's
PIMPR_CONTACTTYPE