// frmContactEditor-General.cpp - frmContactEditor General tab subroutines.
//
-// (c) 2012-2015 Xestia Software Development.
+// (c) 2012-2016 Xestia Software Development.
//
// This file is part of Xestia Address Book.
//
frmContactEditorNickname *frameCENickname = new frmContactEditorNickname ( this );
frameCENickname->SetEditorMode(FALSE, CE_GENERAL);
- intResult = GetLastInt(&GeneralNicknamesList);
- frameCENickname->SetupPointers(&GeneralNicknamesList,
- &GeneralNicknamesListAltID,
- &GeneralNicknamesListPID,
- &GeneralNicknamesListType,
- &GeneralNicknamesListLanguage,
- &GeneralNicknamesListTokens,
- &GeneralNicknamesListPref,
+ intResult = GetLastInt(&ContactEditorData.GeneralNicknamesList);
+ frameCENickname->SetupPointers(&ContactEditorData.GeneralNicknamesList,
+ &ContactEditorData.GeneralNicknamesListAltID,
+ &ContactEditorData.GeneralNicknamesListPID,
+ &ContactEditorData.GeneralNicknamesListType,
+ &ContactEditorData.GeneralNicknamesListLanguage,
+ &ContactEditorData.GeneralNicknamesListTokens,
+ &ContactEditorData.GeneralNicknamesListPref,
lboNicknames,
(intValueSeek));
frameCENickname->ShowModal();
}
frmContactEditorNickname *frameCENickname = new frmContactEditorNickname ( this );
- frameCENickname->SetupPointers(&GeneralNicknamesList,
- &GeneralNicknamesListAltID,
- &GeneralNicknamesListPID,
- &GeneralNicknamesListType,
- &GeneralNicknamesListLanguage,
- &GeneralNicknamesListTokens,
- &GeneralNicknamesListPref,
+ frameCENickname->SetupPointers(&ContactEditorData.GeneralNicknamesList,
+ &ContactEditorData.GeneralNicknamesListAltID,
+ &ContactEditorData.GeneralNicknamesListPID,
+ &ContactEditorData.GeneralNicknamesListType,
+ &ContactEditorData.GeneralNicknamesListLanguage,
+ &ContactEditorData.GeneralNicknamesListTokens,
+ &ContactEditorData.GeneralNicknamesListPref,
lboNicknames,
intSelectedData);
frameCENickname->SetEditorMode(TRUE, CE_GENERAL);
lboNicknames->DeleteItem(longSelected);
DeleteMapData(intSelectedData,
- &GeneralNicknamesList,
- &GeneralNicknamesListLanguage,
- &GeneralNicknamesListAltID,
- &GeneralNicknamesListPID,
- &GeneralNicknamesListTokens,
- &GeneralNicknamesListType,
- &GeneralNicknamesListPref);
+ &ContactEditorData.GeneralNicknamesList,
+ &ContactEditorData.GeneralNicknamesListLanguage,
+ &ContactEditorData.GeneralNicknamesListAltID,
+ &ContactEditorData.GeneralNicknamesListPID,
+ &ContactEditorData.GeneralNicknamesListTokens,
+ &ContactEditorData.GeneralNicknamesListType,
+ &ContactEditorData.GeneralNicknamesListPref);
}
frmContactEditorAddress *frameCEAddress = new frmContactEditorAddress ( this );
frameCEAddress->SetEditorMode(FALSE, CE_GENERAL);
- intResult = GetLastInt(&GeneralAddressList);
- frameCEAddress->SetupPointers(&GeneralAddressList,
- &GeneralAddressListTown,
- &GeneralAddressListCounty,
- &GeneralAddressListPostCode,
- &GeneralAddressListCountry,
- &GeneralAddressListLabel,
- &GeneralAddressListLang,
- &GeneralAddressListAltID,
- &GeneralAddressListPID,
- &GeneralAddressListTokens,
- &GeneralAddressListGeo,
- &GeneralAddressListTimezone,
- &GeneralAddressListType,
- &GeneralAddressListMediatype,
- &GeneralAddressListPref,
+ intResult = GetLastInt(&ContactEditorData.GeneralAddressList);
+ frameCEAddress->SetupPointers(&ContactEditorData.GeneralAddressList,
+ &ContactEditorData.GeneralAddressListTown,
+ &ContactEditorData.GeneralAddressListCounty,
+ &ContactEditorData.GeneralAddressListPostCode,
+ &ContactEditorData.GeneralAddressListCountry,
+ &ContactEditorData.GeneralAddressListLabel,
+ &ContactEditorData.GeneralAddressListLang,
+ &ContactEditorData.GeneralAddressListAltID,
+ &ContactEditorData.GeneralAddressListPID,
+ &ContactEditorData.GeneralAddressListTokens,
+ &ContactEditorData.GeneralAddressListGeo,
+ &ContactEditorData.GeneralAddressListTimezone,
+ &ContactEditorData.GeneralAddressListType,
+ &ContactEditorData.GeneralAddressListMediatype,
+ &ContactEditorData.GeneralAddressListPref,
lboAddresses,
(intValueSeek));
frameCEAddress->ShowModal();
}
frmContactEditorAddress *frameCEAddress = new frmContactEditorAddress ( this );
- frameCEAddress->SetupPointers(&GeneralAddressList,
- &GeneralAddressListTown,
- &GeneralAddressListCounty,
- &GeneralAddressListPostCode,
- &GeneralAddressListCountry,
- &GeneralAddressListLabel,
- &GeneralAddressListLang,
- &GeneralAddressListAltID,
- &GeneralAddressListPID,
- &GeneralAddressListTokens,
- &GeneralAddressListGeo,
- &GeneralAddressListTimezone,
- &GeneralAddressListType,
- &GeneralAddressListMediatype,
- &GeneralAddressListPref,
+ frameCEAddress->SetupPointers(&ContactEditorData.GeneralAddressList,
+ &ContactEditorData.GeneralAddressListTown,
+ &ContactEditorData.GeneralAddressListCounty,
+ &ContactEditorData.GeneralAddressListPostCode,
+ &ContactEditorData.GeneralAddressListCountry,
+ &ContactEditorData.GeneralAddressListLabel,
+ &ContactEditorData.GeneralAddressListLang,
+ &ContactEditorData.GeneralAddressListAltID,
+ &ContactEditorData.GeneralAddressListPID,
+ &ContactEditorData.GeneralAddressListTokens,
+ &ContactEditorData.GeneralAddressListGeo,
+ &ContactEditorData.GeneralAddressListTimezone,
+ &ContactEditorData.GeneralAddressListType,
+ &ContactEditorData.GeneralAddressListMediatype,
+ &ContactEditorData.GeneralAddressListPref,
lboAddresses,
intSelectedData);
frameCEAddress->SetEditorMode(TRUE, CE_GENERAL);
lboAddresses->DeleteItem(longSelected);
- DeleteMapData(intSelectedData, &GeneralAddressList,
- &GeneralAddressListTown, &GeneralAddressListCounty,
- &GeneralAddressListPostCode, &GeneralAddressListCountry,
- &GeneralAddressList, &GeneralAddressListLabel,
- &GeneralAddressListLang, &GeneralAddressListAltID,
- &GeneralAddressListPID, &GeneralAddressListTokens,
- &GeneralAddressListGeo, &GeneralAddressListTimezone,
- &GeneralAddressListType, &GeneralAddressListMediatype,
- &GeneralAddressListPref);
+ DeleteMapData(intSelectedData, &ContactEditorData.GeneralAddressList,
+ &ContactEditorData.GeneralAddressListTown, &ContactEditorData.GeneralAddressListCounty,
+ &ContactEditorData.GeneralAddressListPostCode, &ContactEditorData.GeneralAddressListCountry,
+ &ContactEditorData.GeneralAddressList, &ContactEditorData.GeneralAddressListLabel,
+ &ContactEditorData.GeneralAddressListLang, &ContactEditorData.GeneralAddressListAltID,
+ &ContactEditorData.GeneralAddressListPID, &ContactEditorData.GeneralAddressListTokens,
+ &ContactEditorData.GeneralAddressListGeo, &ContactEditorData.GeneralAddressListTimezone,
+ &ContactEditorData.GeneralAddressListType, &ContactEditorData.GeneralAddressListMediatype,
+ &ContactEditorData.GeneralAddressListPref);
}
frmContactEditorEmail *frameCEEmail = new frmContactEditorEmail ( this );
frameCEEmail->SetEditorMode(FALSE, CE_GENERAL);
- intResult = GetLastInt(&GeneralAddressList);
- frameCEEmail->SetupPointers(&GeneralEmailList,
- &GeneralEmailListAltID,
- &GeneralEmailListPID,
- &GeneralEmailListType,
- &GeneralEmailListTokens,
- &GeneralEmailListPref,
+ intResult = GetLastInt(&ContactEditorData.GeneralAddressList);
+ frameCEEmail->SetupPointers(&ContactEditorData.GeneralEmailList,
+ &ContactEditorData.GeneralEmailListAltID,
+ &ContactEditorData.GeneralEmailListPID,
+ &ContactEditorData.GeneralEmailListType,
+ &ContactEditorData.GeneralEmailListTokens,
+ &ContactEditorData.GeneralEmailListPref,
lboEmails,
(intValueSeek));
frameCEEmail->ShowModal();
}
frmContactEditorEmail *frameCEEmail = new frmContactEditorEmail ( this );
- frameCEEmail->SetupPointers(&GeneralEmailList,
- &GeneralEmailListAltID,
- &GeneralEmailListPID,
- &GeneralEmailListType,
- &GeneralEmailListTokens,
- &GeneralEmailListPref,
+ frameCEEmail->SetupPointers(&ContactEditorData.GeneralEmailList,
+ &ContactEditorData.GeneralEmailListAltID,
+ &ContactEditorData.GeneralEmailListPID,
+ &ContactEditorData.GeneralEmailListType,
+ &ContactEditorData.GeneralEmailListTokens,
+ &ContactEditorData.GeneralEmailListPref,
lboEmails,
intSelectedData);
frameCEEmail->SetEditorMode(TRUE, CE_GENERAL);
lboEmails->DeleteItem(longSelected);
- DeleteMapData(intSelectedData, &GeneralEmailList,
- &GeneralEmailListAltID, &GeneralEmailListPID,
- &GeneralEmailListType, &GeneralEmailListTokens,
- &GeneralEmailListPref);
+ DeleteMapData(intSelectedData, &ContactEditorData.GeneralEmailList,
+ &ContactEditorData.GeneralEmailListAltID, &ContactEditorData.GeneralEmailListPID,
+ &ContactEditorData.GeneralEmailListType, &ContactEditorData.GeneralEmailListTokens,
+ &ContactEditorData.GeneralEmailListPref);
}
frmContactEditorIM *frameCEIM = new frmContactEditorIM ( this );
frameCEIM->SetEditorMode(FALSE, CE_GENERAL);
- intResult = GetLastInt(&GeneralIMList);
- frameCEIM->SetupPointers(&GeneralIMList,
- &GeneralIMListAltID,
- &GeneralIMListPID,
- &GeneralIMListType,
- &GeneralIMListTokens,
- &GeneralIMListMediatype,
- &GeneralIMListPref,
+ intResult = GetLastInt(&ContactEditorData.GeneralIMList);
+ frameCEIM->SetupPointers(&ContactEditorData.GeneralIMList,
+ &ContactEditorData.GeneralIMListAltID,
+ &ContactEditorData.GeneralIMListPID,
+ &ContactEditorData.GeneralIMListType,
+ &ContactEditorData.GeneralIMListTokens,
+ &ContactEditorData.GeneralIMListMediatype,
+ &ContactEditorData.GeneralIMListPref,
lboIM,
(intValueSeek));
frameCEIM->ShowModal();
}
frmContactEditorIM *frameCEIM = new frmContactEditorIM ( this );
- frameCEIM->SetupPointers(&GeneralIMList,
- &GeneralIMListAltID,
- &GeneralIMListPID,
- &GeneralIMListType,
- &GeneralIMListTokens,
- &GeneralIMListMediatype,
- &GeneralIMListPref,
+ frameCEIM->SetupPointers(&ContactEditorData.GeneralIMList,
+ &ContactEditorData.GeneralIMListAltID,
+ &ContactEditorData.GeneralIMListPID,
+ &ContactEditorData.GeneralIMListType,
+ &ContactEditorData.GeneralIMListTokens,
+ &ContactEditorData.GeneralIMListMediatype,
+ &ContactEditorData.GeneralIMListPref,
lboIM,
intSelectedData);
frameCEIM->SetEditorMode(TRUE, CE_GENERAL);
lboIM->DeleteItem(longSelected);
- DeleteMapData(intSelectedData, &GeneralIMList,
- &GeneralIMListAltID, &GeneralIMListPID,
- &GeneralIMListType, &GeneralIMListTokens,
- &GeneralIMListMediatype, &GeneralIMListPref);
+ DeleteMapData(intSelectedData, &ContactEditorData.GeneralIMList,
+ &ContactEditorData.GeneralIMListAltID, &ContactEditorData.GeneralIMListPID,
+ &ContactEditorData.GeneralIMListType, &ContactEditorData.GeneralIMListTokens,
+ &ContactEditorData.GeneralIMListMediatype, &ContactEditorData.GeneralIMListPref);
}
frmContactEditorTelephone *frameCETel = new frmContactEditorTelephone ( this );
frameCETel->SetEditorMode(FALSE, CE_GENERAL);
- intResult = GetLastInt(&GeneralTelephoneList);
- frameCETel->SetupPointers(&GeneralTelephoneList,
- &GeneralTelephoneListAltID,
- &GeneralTelephoneListPID,
- &GeneralTelephoneListType,
- &GeneralTelephoneListTokens,
- &GeneralTelephoneListPref,
+ intResult = GetLastInt(&ContactEditorData.GeneralTelephoneList);
+ frameCETel->SetupPointers(&ContactEditorData.GeneralTelephoneList,
+ &ContactEditorData.GeneralTelephoneListAltID,
+ &ContactEditorData.GeneralTelephoneListPID,
+ &ContactEditorData.GeneralTelephoneListType,
+ &ContactEditorData.GeneralTelephoneListTokens,
+ &ContactEditorData.GeneralTelephoneListPref,
lboTelephone,
(intValueSeek));
frameCETel->ShowModal();
}
frmContactEditorTelephone *frameCETel = new frmContactEditorTelephone ( this );
- frameCETel->SetupPointers(&GeneralTelephoneList,
- &GeneralTelephoneListAltID,
- &GeneralTelephoneListPID,
- &GeneralTelephoneListType,
- &GeneralTelephoneListTokens,
- &GeneralTelephoneListPref,
+ frameCETel->SetupPointers(&ContactEditorData.GeneralTelephoneList,
+ &ContactEditorData.GeneralTelephoneListAltID,
+ &ContactEditorData.GeneralTelephoneListPID,
+ &ContactEditorData.GeneralTelephoneListType,
+ &ContactEditorData.GeneralTelephoneListTokens,
+ &ContactEditorData.GeneralTelephoneListPref,
lboTelephone,
intSelectedData);
frameCETel->SetEditorMode(TRUE, CE_GENERAL);
lboTelephone->DeleteItem(longSelected);
- DeleteMapData(intSelectedData, &GeneralTelephoneList,
- &GeneralTelephoneListAltID, &GeneralTelephoneListPID,
- &GeneralTelephoneListType, &GeneralTelephoneListTokens,
- &GeneralTelephoneListPref);
+ DeleteMapData(intSelectedData, &ContactEditorData.GeneralTelephoneList,
+ &ContactEditorData.GeneralTelephoneListAltID, &ContactEditorData.GeneralTelephoneListPID,
+ &ContactEditorData.GeneralTelephoneListType, &ContactEditorData.GeneralTelephoneListTokens,
+ &ContactEditorData.GeneralTelephoneListPref);
}
frmContactEditorLanguages *frameCELang = new frmContactEditorLanguages ( this );
frameCELang->SetEditorMode(FALSE, CE_GENERAL);
- intResult = GetLastInt(&GeneralLanguageList);
- frameCELang->SetupPointers(&GeneralLanguageList,
- &GeneralLanguageListAltID,
- &GeneralLanguageListPID,
- &GeneralLanguageListType,
- &GeneralLanguageListTokens,
- &GeneralLanguageListPref,
+ intResult = GetLastInt(&ContactEditorData.GeneralLanguageList);
+ frameCELang->SetupPointers(&ContactEditorData.GeneralLanguageList,
+ &ContactEditorData.GeneralLanguageListAltID,
+ &ContactEditorData.GeneralLanguageListPID,
+ &ContactEditorData.GeneralLanguageListType,
+ &ContactEditorData.GeneralLanguageListTokens,
+ &ContactEditorData.GeneralLanguageListPref,
lboLanguages,
(intValueSeek));
frameCELang->ShowModal();
}
frmContactEditorLanguages *frameCELang = new frmContactEditorLanguages ( this );
- frameCELang->SetupPointers(&GeneralLanguageList,
- &GeneralLanguageListAltID,
- &GeneralLanguageListPID,
- &GeneralLanguageListType,
- &GeneralLanguageListTokens,
- &GeneralLanguageListPref,
+ frameCELang->SetupPointers(&ContactEditorData.GeneralLanguageList,
+ &ContactEditorData.GeneralLanguageListAltID,
+ &ContactEditorData.GeneralLanguageListPID,
+ &ContactEditorData.GeneralLanguageListType,
+ &ContactEditorData.GeneralLanguageListTokens,
+ &ContactEditorData.GeneralLanguageListPref,
lboLanguages,
intSelectedData);
frameCELang->SetEditorMode(TRUE, CE_GENERAL);
lboLanguages->DeleteItem(longSelected);
- DeleteMapData(intSelectedData, &GeneralLanguageList,
- &GeneralLanguageListAltID, &GeneralLanguageListPID,
- &GeneralLanguageListType, &GeneralLanguageListTokens,
- &GeneralLanguageListPref);
+ DeleteMapData(intSelectedData, &ContactEditorData.GeneralLanguageList,
+ &ContactEditorData.GeneralLanguageListAltID, &ContactEditorData.GeneralLanguageListPID,
+ &ContactEditorData.GeneralLanguageListType, &ContactEditorData.GeneralLanguageListTokens,
+ &ContactEditorData.GeneralLanguageListPref);
}
frmContactEditorTimezones *frameCETZ = new frmContactEditorTimezones ( this );
frameCETZ->SetEditorMode(FALSE, CE_GENERAL);
- intResult = GetLastInt(&GeneralTZList);
- frameCETZ->SetupPointers(&GeneralTZList,
- &GeneralTZListAltID,
- &GeneralTZListPID,
- &GeneralTZListType,
- &GeneralTZListTokens,
- &GeneralTZListMediatype,
- &GeneralTZListPref,
+ intResult = GetLastInt(&ContactEditorData.GeneralTZList);
+ frameCETZ->SetupPointers(&ContactEditorData.GeneralTZList,
+ &ContactEditorData.GeneralTZListAltID,
+ &ContactEditorData.GeneralTZListPID,
+ &ContactEditorData.GeneralTZListType,
+ &ContactEditorData.GeneralTZListTokens,
+ &ContactEditorData.GeneralTZListMediatype,
+ &ContactEditorData.GeneralTZListPref,
lboTimezones,
(intValueSeek));
frameCETZ->ShowModal();
}
frmContactEditorTimezones *frameCETZ = new frmContactEditorTimezones ( this );
- frameCETZ->SetupPointers(&GeneralTZList,
- &GeneralTZListAltID,
- &GeneralTZListPID,
- &GeneralTZListType,
- &GeneralTZListTokens,
- &GeneralTZListMediatype,
- &GeneralTZListPref,
+ frameCETZ->SetupPointers(&ContactEditorData.GeneralTZList,
+ &ContactEditorData.GeneralTZListAltID,
+ &ContactEditorData.GeneralTZListPID,
+ &ContactEditorData.GeneralTZListType,
+ &ContactEditorData.GeneralTZListTokens,
+ &ContactEditorData.GeneralTZListMediatype,
+ &ContactEditorData.GeneralTZListPref,
lboTimezones,
intSelectedData);
frameCETZ->SetEditorMode(TRUE, CE_GENERAL);
lboTimezones->DeleteItem(longSelected);
- DeleteMapData(intSelectedData, &GeneralTZList,
- &GeneralTZListAltID, &GeneralTZListPID,
- &GeneralTZListType, &GeneralTZListTokens,
- &GeneralTZListMediatype, &GeneralTZListPref);
+ DeleteMapData(intSelectedData, &ContactEditorData.GeneralTZList,
+ &ContactEditorData.GeneralTZListAltID, &ContactEditorData.GeneralTZListPID,
+ &ContactEditorData.GeneralTZListType, &ContactEditorData.GeneralTZListTokens,
+ &ContactEditorData.GeneralTZListMediatype, &ContactEditorData.GeneralTZListPref);
}
frmContactEditorGeoposition *frameCEGeo = new frmContactEditorGeoposition ( this );
frameCEGeo->SetEditorMode(FALSE, CE_GENERAL);
- intResult = GetLastInt(&GeneralGeographyList);
- frameCEGeo->SetupPointers(&GeneralGeographyList,
- &GeneralGeographyListAltID,
- &GeneralGeographyListPID,
- &GeneralGeographyListType,
- &GeneralGeographyListTokens,
- &GeneralGeographyListMediatype,
- &GeneralGeographyListPref,
+ intResult = GetLastInt(&ContactEditorData.GeneralGeographyList);
+ frameCEGeo->SetupPointers(&ContactEditorData.GeneralGeographyList,
+ &ContactEditorData.GeneralGeographyListAltID,
+ &ContactEditorData.GeneralGeographyListPID,
+ &ContactEditorData.GeneralGeographyListType,
+ &ContactEditorData.GeneralGeographyListTokens,
+ &ContactEditorData.GeneralGeographyListMediatype,
+ &ContactEditorData.GeneralGeographyListPref,
lboGeoposition,
(intValueSeek));
frameCEGeo->ShowModal();
}
frmContactEditorGeoposition *frameCEGeo = new frmContactEditorGeoposition ( this );
- frameCEGeo->SetupPointers(&GeneralGeographyList,
- &GeneralGeographyListAltID,
- &GeneralGeographyListPID,
- &GeneralGeographyListType,
- &GeneralGeographyListTokens,
- &GeneralGeographyListMediatype,
- &GeneralGeographyListPref,
+ frameCEGeo->SetupPointers(&ContactEditorData.GeneralGeographyList,
+ &ContactEditorData.GeneralGeographyListAltID,
+ &ContactEditorData.GeneralGeographyListPID,
+ &ContactEditorData.GeneralGeographyListType,
+ &ContactEditorData.GeneralGeographyListTokens,
+ &ContactEditorData.GeneralGeographyListMediatype,
+ &ContactEditorData.GeneralGeographyListPref,
lboGeoposition,
intSelectedData);
frameCEGeo->SetEditorMode(TRUE, CE_GENERAL);
lboGeoposition->DeleteItem(longSelected);
- DeleteMapData(intSelectedData, &GeneralGeographyList,
- &GeneralGeographyListAltID, &GeneralGeographyListPID,
- &GeneralGeographyListType, &GeneralGeographyListTokens,
- &GeneralGeographyListMediatype, &GeneralGeographyListPref);
+ DeleteMapData(intSelectedData, &ContactEditorData.GeneralGeographyList,
+ &ContactEditorData.GeneralGeographyListAltID, &ContactEditorData.GeneralGeographyListPID,
+ &ContactEditorData.GeneralGeographyListType, &ContactEditorData.GeneralGeographyListTokens,
+ &ContactEditorData.GeneralGeographyListMediatype, &ContactEditorData.GeneralGeographyListPref);
}
frmContactEditorRelated *frameCERel = new frmContactEditorRelated ( this );
frameCERel->SetEditorMode(FALSE, CE_GENERAL);
- intResult = GetLastInt(&GeneralRelatedList);
- frameCERel->SetupPointers(&GeneralRelatedList,
- &GeneralRelatedListRelType,
- &GeneralRelatedListAltID,
- &GeneralRelatedListPID,
- &GeneralRelatedListType,
- &GeneralRelatedListTokens,
- &GeneralRelatedListPref,
+ intResult = GetLastInt(&ContactEditorData.GeneralRelatedList);
+ frameCERel->SetupPointers(&ContactEditorData.GeneralRelatedList,
+ &ContactEditorData.GeneralRelatedListRelType,
+ &ContactEditorData.GeneralRelatedListAltID,
+ &ContactEditorData.GeneralRelatedListPID,
+ &ContactEditorData.GeneralRelatedListType,
+ &ContactEditorData.GeneralRelatedListTokens,
+ &ContactEditorData.GeneralRelatedListPref,
lboRelated,
(intValueSeek));
frameCERel->ShowModal();
}
frmContactEditorRelated *frameCERel = new frmContactEditorRelated ( this );
- frameCERel->SetupPointers(&GeneralRelatedList,
- &GeneralRelatedListRelType,
- &GeneralRelatedListAltID,
- &GeneralRelatedListPID,
- &GeneralRelatedListType,
- &GeneralRelatedListTokens,
- &GeneralRelatedListPref,
+ frameCERel->SetupPointers(&ContactEditorData.GeneralRelatedList,
+ &ContactEditorData.GeneralRelatedListRelType,
+ &ContactEditorData.GeneralRelatedListAltID,
+ &ContactEditorData.GeneralRelatedListPID,
+ &ContactEditorData.GeneralRelatedListType,
+ &ContactEditorData.GeneralRelatedListTokens,
+ &ContactEditorData.GeneralRelatedListPref,
lboRelated,
intSelectedData);
frameCERel->SetEditorMode(TRUE, CE_GENERAL);
frmContactEditorWebsites *frameCEWeb = new frmContactEditorWebsites ( this );
frameCEWeb->SetEditorMode(FALSE, CE_GENERAL);
- intResult = GetLastInt(&GeneralWebsiteList);
- frameCEWeb->SetupPointers(&GeneralWebsiteList,
- &GeneralWebsiteListAltID,
- &GeneralWebsiteListPID,
- &GeneralWebsiteListType,
- &GeneralWebsiteListTokens,
- &GeneralWebsiteListMediatype,
- &GeneralWebsiteListPref,
+ intResult = GetLastInt(&ContactEditorData.GeneralWebsiteList);
+ frameCEWeb->SetupPointers(&ContactEditorData.GeneralWebsiteList,
+ &ContactEditorData.GeneralWebsiteListAltID,
+ &ContactEditorData.GeneralWebsiteListPID,
+ &ContactEditorData.GeneralWebsiteListType,
+ &ContactEditorData.GeneralWebsiteListTokens,
+ &ContactEditorData.GeneralWebsiteListMediatype,
+ &ContactEditorData.GeneralWebsiteListPref,
lboWebsites,
(intValueSeek));
frameCEWeb->ShowModal();
}
frmContactEditorWebsites *frameCEWeb = new frmContactEditorWebsites ( this );
- frameCEWeb->SetupPointers(&GeneralWebsiteList,
- &GeneralWebsiteListAltID,
- &GeneralWebsiteListPID,
- &GeneralWebsiteListType,
- &GeneralWebsiteListTokens,
- &GeneralWebsiteListMediatype,
- &GeneralWebsiteListPref,
+ frameCEWeb->SetupPointers(&ContactEditorData.GeneralWebsiteList,
+ &ContactEditorData.GeneralWebsiteListAltID,
+ &ContactEditorData.GeneralWebsiteListPID,
+ &ContactEditorData.GeneralWebsiteListType,
+ &ContactEditorData.GeneralWebsiteListTokens,
+ &ContactEditorData.GeneralWebsiteListMediatype,
+ &ContactEditorData.GeneralWebsiteListPref,
lboWebsites,
intSelectedData);
frameCEWeb->SetEditorMode(TRUE, CE_GENERAL);
lboWebsites->DeleteItem(longSelected);
- DeleteMapData(intSelectedData, &GeneralWebsiteList,
- &GeneralWebsiteListAltID, &GeneralWebsiteListPID,
- &GeneralWebsiteListType, &GeneralWebsiteListTokens,
- &GeneralWebsiteListMediatype, &GeneralWebsiteListPref);
+ DeleteMapData(intSelectedData, &ContactEditorData.GeneralWebsiteList,
+ &ContactEditorData.GeneralWebsiteListAltID, &ContactEditorData.GeneralWebsiteListPID,
+ &ContactEditorData.GeneralWebsiteListType, &ContactEditorData.GeneralWebsiteListTokens,
+ &ContactEditorData.GeneralWebsiteListMediatype, &ContactEditorData.GeneralWebsiteListPref);
}
frmContactEditorTitles *frameCETitle = new frmContactEditorTitles ( this );
frameCETitle->SetEditorMode(FALSE, CE_GENERAL);
- intResult = GetLastInt(&GeneralTitleList);
- frameCETitle->SetupPointers(&GeneralTitleList,
- &GeneralTitleListLanguage,
- &GeneralTitleListAltID,
- &GeneralTitleListPID,
- &GeneralTitleListType,
- &GeneralTitleListTokens,
- &GeneralTitleListPref,
+ intResult = GetLastInt(&ContactEditorData.GeneralTitleList);
+ frameCETitle->SetupPointers(&ContactEditorData.GeneralTitleList,
+ &ContactEditorData.GeneralTitleListLanguage,
+ &ContactEditorData.GeneralTitleListAltID,
+ &ContactEditorData.GeneralTitleListPID,
+ &ContactEditorData.GeneralTitleListType,
+ &ContactEditorData.GeneralTitleListTokens,
+ &ContactEditorData.GeneralTitleListPref,
lboTitles,
(intValueSeek));
frameCETitle->ShowModal();
}
frmContactEditorTitles *frameCETitle = new frmContactEditorTitles ( this );
- frameCETitle->SetupPointers(&GeneralTitleList,
- &GeneralTitleListLanguage,
- &GeneralTitleListAltID,
- &GeneralTitleListPID,
- &GeneralTitleListType,
- &GeneralTitleListTokens,
- &GeneralTitleListPref,
+ frameCETitle->SetupPointers(&ContactEditorData.GeneralTitleList,
+ &ContactEditorData.GeneralTitleListLanguage,
+ &ContactEditorData.GeneralTitleListAltID,
+ &ContactEditorData.GeneralTitleListPID,
+ &ContactEditorData.GeneralTitleListType,
+ &ContactEditorData.GeneralTitleListTokens,
+ &ContactEditorData.GeneralTitleListPref,
lboTitles,
intSelectedData);
frameCETitle->SetEditorMode(TRUE, CE_GENERAL);
lboTitles->DeleteItem(longSelected);
- DeleteMapData(intSelectedData, &GeneralTitleList,
- &GeneralTitleListLanguage, &GeneralTitleListAltID,
- &GeneralTitleListPID, &GeneralTitleListType,
- &GeneralTitleListTokens, &GeneralTitleListPref);
+ DeleteMapData(intSelectedData, &ContactEditorData.GeneralTitleList,
+ &ContactEditorData.GeneralTitleListLanguage, &ContactEditorData.GeneralTitleListAltID,
+ &ContactEditorData.GeneralTitleListPID, &ContactEditorData.GeneralTitleListType,
+ &ContactEditorData.GeneralTitleListTokens, &ContactEditorData.GeneralTitleListPref);
}
frmContactEditorRoles *frameCERole = new frmContactEditorRoles ( this );
frameCERole->SetEditorMode(FALSE, CE_GENERAL);
- intResult = GetLastInt(&GeneralRoleList);
- frameCERole->SetupPointers(&GeneralRoleList,
- &GeneralRoleListLanguage,
- &GeneralRoleListAltID,
- &GeneralRoleListPID,
- &GeneralRoleListType,
- &GeneralRoleListTokens,
- &GeneralRoleListPref,
+ intResult = GetLastInt(&ContactEditorData.GeneralRoleList);
+ frameCERole->SetupPointers(&ContactEditorData.GeneralRoleList,
+ &ContactEditorData.GeneralRoleListLanguage,
+ &ContactEditorData.GeneralRoleListAltID,
+ &ContactEditorData.GeneralRoleListPID,
+ &ContactEditorData.GeneralRoleListType,
+ &ContactEditorData.GeneralRoleListTokens,
+ &ContactEditorData.GeneralRoleListPref,
lboRoles,
(intValueSeek));
frameCERole->ShowModal();
}
frmContactEditorRoles *frameCERole = new frmContactEditorRoles ( this );
- frameCERole->SetupPointers(&GeneralRoleList,
- &GeneralRoleListLanguage,
- &GeneralRoleListAltID,
- &GeneralRoleListPID,
- &GeneralRoleListType,
- &GeneralRoleListTokens,
- &GeneralRoleListPref,
+ frameCERole->SetupPointers(&ContactEditorData.GeneralRoleList,
+ &ContactEditorData.GeneralRoleListLanguage,
+ &ContactEditorData.GeneralRoleListAltID,
+ &ContactEditorData.GeneralRoleListPID,
+ &ContactEditorData.GeneralRoleListType,
+ &ContactEditorData.GeneralRoleListTokens,
+ &ContactEditorData.GeneralRoleListPref,
lboRoles,
intSelectedData);
frameCERole->SetEditorMode(TRUE, CE_GENERAL);
lboRoles->DeleteItem(longSelected);
- DeleteMapData(intSelectedData, &GeneralRoleList,
- &GeneralRoleListLanguage, &GeneralRoleListAltID,
- &GeneralRoleListPID, &GeneralRoleListType,
- &GeneralRoleListTokens, &GeneralRoleListPref);
+ DeleteMapData(intSelectedData, &ContactEditorData.GeneralRoleList,
+ &ContactEditorData.GeneralRoleListLanguage, &ContactEditorData.GeneralRoleListAltID,
+ &ContactEditorData.GeneralRoleListPID, &ContactEditorData.GeneralRoleListType,
+ &ContactEditorData.GeneralRoleListTokens, &ContactEditorData.GeneralRoleListPref);
}
frmContactEditorOrganisations *frameCEOrg = new frmContactEditorOrganisations ( this );
frameCEOrg->SetEditorMode(FALSE, CE_GENERAL);
- intResult = GetLastInt(&GeneralOrganisationsList);
- frameCEOrg->SetupPointers(&GeneralOrganisationsList,
- &GeneralOrganisationsListLanguage,
- &GeneralOrganisationsListSortAs,
- &GeneralOrganisationsListAltID,
- &GeneralOrganisationsListPID,
- &GeneralOrganisationsListType,
- &GeneralOrganisationsListTokens,
- &GeneralOrganisationsListPref,
+ intResult = GetLastInt(&ContactEditorData.GeneralOrganisationsList);
+ frameCEOrg->SetupPointers(&ContactEditorData.GeneralOrganisationsList,
+ &ContactEditorData.GeneralOrganisationsListLanguage,
+ &ContactEditorData.GeneralOrganisationsListSortAs,
+ &ContactEditorData.GeneralOrganisationsListAltID,
+ &ContactEditorData.GeneralOrganisationsListPID,
+ &ContactEditorData.GeneralOrganisationsListType,
+ &ContactEditorData.GeneralOrganisationsListTokens,
+ &ContactEditorData.GeneralOrganisationsListPref,
lboOrganisations,
(intValueSeek));
frameCEOrg->ShowModal();
}
frmContactEditorOrganisations *frameCEOrg = new frmContactEditorOrganisations ( this );
- frameCEOrg->SetupPointers(&GeneralOrganisationsList,
- &GeneralOrganisationsListLanguage,
- &GeneralOrganisationsListSortAs,
- &GeneralOrganisationsListAltID,
- &GeneralOrganisationsListPID,
- &GeneralOrganisationsListType,
- &GeneralOrganisationsListTokens,
- &GeneralOrganisationsListPref,
+ frameCEOrg->SetupPointers(&ContactEditorData.GeneralOrganisationsList,
+ &ContactEditorData.GeneralOrganisationsListLanguage,
+ &ContactEditorData.GeneralOrganisationsListSortAs,
+ &ContactEditorData.GeneralOrganisationsListAltID,
+ &ContactEditorData.GeneralOrganisationsListPID,
+ &ContactEditorData.GeneralOrganisationsListType,
+ &ContactEditorData.GeneralOrganisationsListTokens,
+ &ContactEditorData.GeneralOrganisationsListPref,
lboOrganisations,
intSelectedData);
frameCEOrg->SetEditorMode(TRUE, CE_GENERAL);
lboOrganisations->DeleteItem(longSelected);
- DeleteMapData(intSelectedData, &GeneralOrganisationsList,
- &GeneralOrganisationsListLanguage, &GeneralOrganisationsListSortAs,
- &GeneralOrganisationsListAltID, &GeneralOrganisationsListPID,
- &GeneralOrganisationsListType, &GeneralOrganisationsListTokens,
- &GeneralOrganisationsListPref);
+ DeleteMapData(intSelectedData, &ContactEditorData.GeneralOrganisationsList,
+ &ContactEditorData.GeneralOrganisationsListLanguage, &ContactEditorData.GeneralOrganisationsListSortAs,
+ &ContactEditorData.GeneralOrganisationsListAltID, &ContactEditorData.GeneralOrganisationsListPID,
+ &ContactEditorData.GeneralOrganisationsListType, &ContactEditorData.GeneralOrganisationsListTokens,
+ &ContactEditorData.GeneralOrganisationsListPref);
}
frmContactEditorNotes *frameCENote = new frmContactEditorNotes ( this );
frameCENote->SetEditorMode(FALSE, CE_GENERAL);
- intResult = GetLastInt(&GeneralNoteList);
- frameCENote->SetupPointers(&GeneralNoteList,
- &GeneralNoteListLanguage,
- &GeneralNoteListAltID,
- &GeneralNoteListPID,
- &GeneralNoteListType,
- &GeneralNoteListTokens,
- &GeneralNoteListPref,
+ intResult = GetLastInt(&ContactEditorData.GeneralNoteList);
+ frameCENote->SetupPointers(&ContactEditorData.GeneralNoteList,
+ &ContactEditorData.GeneralNoteListLanguage,
+ &ContactEditorData.GeneralNoteListAltID,
+ &ContactEditorData.GeneralNoteListPID,
+ &ContactEditorData.GeneralNoteListType,
+ &ContactEditorData.GeneralNoteListTokens,
+ &ContactEditorData.GeneralNoteListPref,
lboNotes,
(intValueSeek));
frameCENote->ShowModal();
}
frmContactEditorNotes *frameCENote = new frmContactEditorNotes ( this );
- frameCENote->SetupPointers(&GeneralNoteList,
- &GeneralNoteListLanguage,
- &GeneralNoteListAltID,
- &GeneralNoteListPID,
- &GeneralNoteListType,
- &GeneralNoteListTokens,
- &GeneralNoteListPref,
+ frameCENote->SetupPointers(&ContactEditorData.GeneralNoteList,
+ &ContactEditorData.GeneralNoteListLanguage,
+ &ContactEditorData.GeneralNoteListAltID,
+ &ContactEditorData.GeneralNoteListPID,
+ &ContactEditorData.GeneralNoteListType,
+ &ContactEditorData.GeneralNoteListTokens,
+ &ContactEditorData.GeneralNoteListPref,
lboNotes,
intSelectedData);
frameCENote->SetEditorMode(TRUE, CE_GENERAL);
lboNotes->DeleteItem(longSelected);
- DeleteMapData(intSelectedData, &GeneralNoteList,
- &GeneralNoteListLanguage, &GeneralNoteListAltID,
- &GeneralNoteListPID, &GeneralNoteListType,
- &GeneralNoteListTokens, &GeneralNoteListPref);
+ DeleteMapData(intSelectedData, &ContactEditorData.GeneralNoteList,
+ &ContactEditorData.GeneralNoteListLanguage, &ContactEditorData.GeneralNoteListAltID,
+ &ContactEditorData.GeneralNoteListPID, &ContactEditorData.GeneralNoteListType,
+ &ContactEditorData.GeneralNoteListTokens, &ContactEditorData.GeneralNoteListPref);
}