The RecountCards function causes the system to recount the number of address cards in the Contacts database.
void RecountCards();
Header file: | Addrstor.h |
Platforms: | H/PC |
Versions: | 1.0 and later |
The address cards are automatically counted by the system when the OpenAddressBook function is called.
Your application must call the RecountCards function if another application modifies the Contacts database while your application has it open. The system notifies your application of such a modification by sending one of the following messages to the window specified in the OpenAddressBook function:
The system will also broadcast the DB_PEGOID_CHANGED message when an address card in the Contacts database is modified; however, this message does not require a call to RecountCards.
For more information, see Contacts Database.