// frmContactEditor-Home.cpp - frmContactEditor Home 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_HOME);
- intResult = GetLastInt(&HomeNicknamesList);
- frameCENickname->SetupPointers(&HomeNicknamesList,
- &HomeNicknamesListAltID,
- &HomeNicknamesListPID,
- &HomeNicknamesListType,
- &HomeNicknamesListLanguage,
- &HomeNicknamesListTokens,
- &HomeNicknamesListPref,
+ intResult = GetLastInt(&ContactEditorData.HomeNicknamesList);
+ frameCENickname->SetupPointers(&ContactEditorData.HomeNicknamesList,
+ &ContactEditorData.HomeNicknamesListAltID,
+ &ContactEditorData.HomeNicknamesListPID,
+ &ContactEditorData.HomeNicknamesListType,
+ &ContactEditorData.HomeNicknamesListLanguage,
+ &ContactEditorData.HomeNicknamesListTokens,
+ &ContactEditorData.HomeNicknamesListPref,
lboHomeNicknames,
(intValueSeek));
frameCENickname->ShowModal();
}
frmContactEditorNickname *frameCENickname = new frmContactEditorNickname ( this );
- frameCENickname->SetupPointers(&HomeNicknamesList,
- &HomeNicknamesListAltID,
- &HomeNicknamesListPID,
- &HomeNicknamesListType,
- &HomeNicknamesListLanguage,
- &HomeNicknamesListTokens,
- &HomeNicknamesListPref,
+ frameCENickname->SetupPointers(&ContactEditorData.HomeNicknamesList,
+ &ContactEditorData.HomeNicknamesListAltID,
+ &ContactEditorData.HomeNicknamesListPID,
+ &ContactEditorData.HomeNicknamesListType,
+ &ContactEditorData.HomeNicknamesListLanguage,
+ &ContactEditorData.HomeNicknamesListTokens,
+ &ContactEditorData.HomeNicknamesListPref,
lboHomeNicknames,
intSelectedData);
frameCENickname->SetEditorMode(TRUE, CE_HOME);
lboHomeNicknames->DeleteItem(longSelected);
DeleteMapData(intSelectedData,
- &HomeNicknamesList,
- &HomeNicknamesListLanguage,
- &HomeNicknamesListAltID,
- &HomeNicknamesListPID,
- &HomeNicknamesListTokens,
- &HomeNicknamesListType,
- &HomeNicknamesListPref);
+ &ContactEditorData.HomeNicknamesList,
+ &ContactEditorData.HomeNicknamesListLanguage,
+ &ContactEditorData.HomeNicknamesListAltID,
+ &ContactEditorData.HomeNicknamesListPID,
+ &ContactEditorData.HomeNicknamesListTokens,
+ &ContactEditorData.HomeNicknamesListType,
+ &ContactEditorData.HomeNicknamesListPref);
}
frmContactEditorAddress *frameCEAddress = new frmContactEditorAddress ( this );
frameCEAddress->SetEditorMode(FALSE, CE_HOME);
- intResult = GetLastInt(&HomeAddressList);
- frameCEAddress->SetupPointers(&HomeAddressList,
- &HomeAddressListTown,
- &HomeAddressListCounty,
- &HomeAddressListPostCode,
- &HomeAddressListCountry,
- &HomeAddressListLabel,
- &HomeAddressListLang,
- &HomeAddressListAltID,
- &HomeAddressListPID,
- &HomeAddressListTokens,
- &HomeAddressListGeo,
- &HomeAddressListTimezone,
- &HomeAddressListType,
- &HomeAddressListMediatype,
- &HomeAddressListPref,
+ intResult = GetLastInt(&ContactEditorData.HomeAddressList);
+ frameCEAddress->SetupPointers(&ContactEditorData.HomeAddressList,
+ &ContactEditorData.HomeAddressListTown,
+ &ContactEditorData.HomeAddressListCounty,
+ &ContactEditorData.HomeAddressListPostCode,
+ &ContactEditorData.HomeAddressListCountry,
+ &ContactEditorData.HomeAddressListLabel,
+ &ContactEditorData.HomeAddressListLang,
+ &ContactEditorData.HomeAddressListAltID,
+ &ContactEditorData.HomeAddressListPID,
+ &ContactEditorData.HomeAddressListTokens,
+ &ContactEditorData.HomeAddressListGeo,
+ &ContactEditorData.HomeAddressListTimezone,
+ &ContactEditorData.HomeAddressListType,
+ &ContactEditorData.HomeAddressListMediatype,
+ &ContactEditorData.HomeAddressListPref,
lboHomeAddresses,
(intValueSeek));
frameCEAddress->ShowModal();
}
frmContactEditorAddress *frameCEAddress = new frmContactEditorAddress ( this );
- frameCEAddress->SetupPointers(&HomeAddressList,
- &HomeAddressListTown,
- &HomeAddressListCounty,
- &HomeAddressListPostCode,
- &HomeAddressListCountry,
- &HomeAddressListLabel,
- &HomeAddressListLang,
- &HomeAddressListAltID,
- &HomeAddressListPID,
- &HomeAddressListTokens,
- &HomeAddressListGeo,
- &HomeAddressListTimezone,
- &HomeAddressListType,
- &HomeAddressListMediatype,
- &HomeAddressListPref,
+ frameCEAddress->SetupPointers(&ContactEditorData.HomeAddressList,
+ &ContactEditorData.HomeAddressListTown,
+ &ContactEditorData.HomeAddressListCounty,
+ &ContactEditorData.HomeAddressListPostCode,
+ &ContactEditorData.HomeAddressListCountry,
+ &ContactEditorData.HomeAddressListLabel,
+ &ContactEditorData.HomeAddressListLang,
+ &ContactEditorData.HomeAddressListAltID,
+ &ContactEditorData.HomeAddressListPID,
+ &ContactEditorData.HomeAddressListTokens,
+ &ContactEditorData.HomeAddressListGeo,
+ &ContactEditorData.HomeAddressListTimezone,
+ &ContactEditorData.HomeAddressListType,
+ &ContactEditorData.HomeAddressListMediatype,
+ &ContactEditorData.HomeAddressListPref,
lboHomeAddresses,
intSelectedData);
frameCEAddress->SetEditorMode(TRUE, CE_HOME);
lboHomeAddresses->DeleteItem(longSelected);
- DeleteMapData(intSelectedData, &HomeAddressList,
- &HomeAddressListTown, &HomeAddressListCounty,
- &HomeAddressListPostCode, &HomeAddressListCountry,
- &HomeAddressList, &HomeAddressListLabel,
- &HomeAddressListLang, &HomeAddressListAltID,
- &HomeAddressListPID, &HomeAddressListTokens,
- &HomeAddressListGeo, &HomeAddressListTimezone,
- &HomeAddressListType, &HomeAddressListMediatype,
- &HomeAddressListPref);
+ DeleteMapData(intSelectedData, &ContactEditorData.HomeAddressList,
+ &ContactEditorData.HomeAddressListTown, &ContactEditorData.HomeAddressListCounty,
+ &ContactEditorData.HomeAddressListPostCode, &ContactEditorData.HomeAddressListCountry,
+ &ContactEditorData.HomeAddressList, &ContactEditorData.HomeAddressListLabel,
+ &ContactEditorData.HomeAddressListLang, &ContactEditorData.HomeAddressListAltID,
+ &ContactEditorData.HomeAddressListPID, &ContactEditorData.HomeAddressListTokens,
+ &ContactEditorData.HomeAddressListGeo, &ContactEditorData.HomeAddressListTimezone,
+ &ContactEditorData.HomeAddressListType, &ContactEditorData.HomeAddressListMediatype,
+ &ContactEditorData.HomeAddressListPref);
}
frmContactEditorEmail *frameCEEmail = new frmContactEditorEmail ( this );
frameCEEmail->SetEditorMode(FALSE, CE_HOME);
- intResult = GetLastInt(&HomeAddressList);
- frameCEEmail->SetupPointers(&HomeEmailList,
- &HomeEmailListAltID,
- &HomeEmailListPID,
- &HomeEmailListType,
- &HomeEmailListTokens,
- &HomeEmailListPref,
+ intResult = GetLastInt(&ContactEditorData.HomeAddressList);
+ frameCEEmail->SetupPointers(&ContactEditorData.HomeEmailList,
+ &ContactEditorData.HomeEmailListAltID,
+ &ContactEditorData.HomeEmailListPID,
+ &ContactEditorData.HomeEmailListType,
+ &ContactEditorData.HomeEmailListTokens,
+ &ContactEditorData.HomeEmailListPref,
lboHomeEmails,
(intValueSeek));
frameCEEmail->ShowModal();
}
frmContactEditorEmail *frameCEEmail = new frmContactEditorEmail ( this );
- frameCEEmail->SetupPointers(&HomeEmailList,
- &HomeEmailListAltID,
- &HomeEmailListPID,
- &HomeEmailListType,
- &HomeEmailListTokens,
- &HomeEmailListPref,
+ frameCEEmail->SetupPointers(&ContactEditorData.HomeEmailList,
+ &ContactEditorData.HomeEmailListAltID,
+ &ContactEditorData.HomeEmailListPID,
+ &ContactEditorData.HomeEmailListType,
+ &ContactEditorData.HomeEmailListTokens,
+ &ContactEditorData.HomeEmailListPref,
lboHomeEmails,
intSelectedData);
frameCEEmail->SetEditorMode(TRUE, CE_HOME);
lboHomeEmails->DeleteItem(longSelected);
- DeleteMapData(intSelectedData, &HomeEmailList,
- &HomeEmailListAltID, &HomeEmailListPID,
- &HomeEmailListType, &HomeEmailListTokens,
- &HomeEmailListPref);
+ DeleteMapData(intSelectedData, &ContactEditorData.HomeEmailList,
+ &ContactEditorData.HomeEmailListAltID, &ContactEditorData.HomeEmailListPID,
+ &ContactEditorData.HomeEmailListType, &ContactEditorData.HomeEmailListTokens,
+ &ContactEditorData.HomeEmailListPref);
}
frmContactEditorIM *frameCEIM = new frmContactEditorIM ( this );
frameCEIM->SetEditorMode(FALSE, CE_HOME);
- intResult = GetLastInt(&HomeIMList);
- frameCEIM->SetupPointers(&HomeIMList,
- &HomeIMListAltID,
- &HomeIMListPID,
- &HomeIMListType,
- &HomeIMListTokens,
- &HomeIMListMediatype,
- &HomeIMListPref,
+ intResult = GetLastInt(&ContactEditorData.HomeIMList);
+ frameCEIM->SetupPointers(&ContactEditorData.HomeIMList,
+ &ContactEditorData.HomeIMListAltID,
+ &ContactEditorData.HomeIMListPID,
+ &ContactEditorData.HomeIMListType,
+ &ContactEditorData.HomeIMListTokens,
+ &ContactEditorData.HomeIMListMediatype,
+ &ContactEditorData.HomeIMListPref,
lboHomeIM,
(intValueSeek));
frameCEIM->ShowModal();
}
frmContactEditorIM *frameCEIM = new frmContactEditorIM ( this );
- frameCEIM->SetupPointers(&HomeIMList,
- &HomeIMListAltID,
- &HomeIMListPID,
- &HomeIMListType,
- &HomeIMListTokens,
- &HomeIMListMediatype,
- &HomeIMListPref,
+ frameCEIM->SetupPointers(&ContactEditorData.HomeIMList,
+ &ContactEditorData.HomeIMListAltID,
+ &ContactEditorData.HomeIMListPID,
+ &ContactEditorData.HomeIMListType,
+ &ContactEditorData.HomeIMListTokens,
+ &ContactEditorData.HomeIMListMediatype,
+ &ContactEditorData.HomeIMListPref,
lboHomeIM,
intSelectedData);
frameCEIM->SetEditorMode(TRUE, CE_HOME);
lboHomeIM->DeleteItem(longSelected);
- DeleteMapData(intSelectedData, &HomeIMList,
- &HomeIMListAltID, &HomeIMListPID,
- &HomeIMListType, &HomeIMListTokens,
- &HomeIMListMediatype, &HomeIMListPref);
+ DeleteMapData(intSelectedData, &ContactEditorData.HomeIMList,
+ &ContactEditorData.HomeIMListAltID, &ContactEditorData.HomeIMListPID,
+ &ContactEditorData.HomeIMListType, &ContactEditorData.HomeIMListTokens,
+ &ContactEditorData.HomeIMListMediatype, &ContactEditorData.HomeIMListPref);
}
frmContactEditorTelephone *frameCETel = new frmContactEditorTelephone ( this );
frameCETel->SetEditorMode(FALSE, CE_HOME);
- intResult = GetLastInt(&HomeTelephoneList);
- frameCETel->SetupPointers(&HomeTelephoneList,
- &HomeTelephoneListAltID,
- &HomeTelephoneListPID,
- &HomeTelephoneListType,
- &HomeTelephoneListTokens,
- &HomeTelephoneListPref,
+ intResult = GetLastInt(&ContactEditorData.HomeTelephoneList);
+ frameCETel->SetupPointers(&ContactEditorData.HomeTelephoneList,
+ &ContactEditorData.HomeTelephoneListAltID,
+ &ContactEditorData.HomeTelephoneListPID,
+ &ContactEditorData.HomeTelephoneListType,
+ &ContactEditorData.HomeTelephoneListTokens,
+ &ContactEditorData.HomeTelephoneListPref,
lboHomeTelephone,
(intValueSeek));
frameCETel->ShowModal();
}
frmContactEditorTelephone *frameCETel = new frmContactEditorTelephone ( this );
- frameCETel->SetupPointers(&HomeTelephoneList,
- &HomeTelephoneListAltID,
- &HomeTelephoneListPID,
- &HomeTelephoneListType,
- &HomeTelephoneListTokens,
- &HomeTelephoneListPref,
+ frameCETel->SetupPointers(&ContactEditorData.HomeTelephoneList,
+ &ContactEditorData.HomeTelephoneListAltID,
+ &ContactEditorData.HomeTelephoneListPID,
+ &ContactEditorData.HomeTelephoneListType,
+ &ContactEditorData.HomeTelephoneListTokens,
+ &ContactEditorData.HomeTelephoneListPref,
lboHomeTelephone,
intSelectedData);
frameCETel->SetEditorMode(TRUE, CE_HOME);
lboHomeTelephone->DeleteItem(longSelected);
- DeleteMapData(intSelectedData, &HomeTelephoneList,
- &HomeTelephoneListAltID, &HomeTelephoneListPID,
- &HomeTelephoneListType, &HomeTelephoneListTokens,
- &HomeTelephoneListPref);
+ DeleteMapData(intSelectedData, &ContactEditorData.HomeTelephoneList,
+ &ContactEditorData.HomeTelephoneListAltID, &ContactEditorData.HomeTelephoneListPID,
+ &ContactEditorData.HomeTelephoneListType, &ContactEditorData.HomeTelephoneListTokens,
+ &ContactEditorData.HomeTelephoneListPref);
}
frmContactEditorLanguages *frameCELang = new frmContactEditorLanguages ( this );
frameCELang->SetEditorMode(FALSE, CE_HOME);
- intResult = GetLastInt(&HomeLanguageList);
- frameCELang->SetupPointers(&HomeLanguageList,
- &HomeLanguageListAltID,
- &HomeLanguageListPID,
- &HomeLanguageListType,
- &HomeLanguageListTokens,
- &HomeLanguageListPref,
+ intResult = GetLastInt(&ContactEditorData.HomeLanguageList);
+ frameCELang->SetupPointers(&ContactEditorData.HomeLanguageList,
+ &ContactEditorData.HomeLanguageListAltID,
+ &ContactEditorData.HomeLanguageListPID,
+ &ContactEditorData.HomeLanguageListType,
+ &ContactEditorData.HomeLanguageListTokens,
+ &ContactEditorData.HomeLanguageListPref,
lboHomeLanguages,
(intValueSeek));
frameCELang->ShowModal();
}
frmContactEditorLanguages *frameCELang = new frmContactEditorLanguages ( this );
- frameCELang->SetupPointers(&HomeLanguageList,
- &HomeLanguageListAltID,
- &HomeLanguageListPID,
- &HomeLanguageListType,
- &HomeLanguageListTokens,
- &HomeLanguageListPref,
+ frameCELang->SetupPointers(&ContactEditorData.HomeLanguageList,
+ &ContactEditorData.HomeLanguageListAltID,
+ &ContactEditorData.HomeLanguageListPID,
+ &ContactEditorData.HomeLanguageListType,
+ &ContactEditorData.HomeLanguageListTokens,
+ &ContactEditorData.HomeLanguageListPref,
lboHomeLanguages,
intSelectedData);
frameCELang->SetEditorMode(TRUE, CE_HOME);
lboHomeLanguages->DeleteItem(longSelected);
- DeleteMapData(intSelectedData, &HomeLanguageList,
- &HomeLanguageListAltID, &HomeLanguageListPID,
- &HomeLanguageListType, &HomeLanguageListTokens,
- &HomeLanguageListPref);
+ DeleteMapData(intSelectedData, &ContactEditorData.HomeLanguageList,
+ &ContactEditorData.HomeLanguageListAltID, &ContactEditorData.HomeLanguageListPID,
+ &ContactEditorData.HomeLanguageListType, &ContactEditorData.HomeLanguageListTokens,
+ &ContactEditorData.HomeLanguageListPref);
}
frmContactEditorTimezones *frameCETZ = new frmContactEditorTimezones ( this );
frameCETZ->SetEditorMode(FALSE, CE_HOME);
- intResult = GetLastInt(&HomeTZList);
- frameCETZ->SetupPointers(&HomeTZList,
- &HomeTZListAltID,
- &HomeTZListPID,
- &HomeTZListType,
- &HomeTZListTokens,
- &HomeTZListMediatype,
- &HomeTZListPref,
+ intResult = GetLastInt(&ContactEditorData.HomeTZList);
+ frameCETZ->SetupPointers(&ContactEditorData.HomeTZList,
+ &ContactEditorData.HomeTZListAltID,
+ &ContactEditorData.HomeTZListPID,
+ &ContactEditorData.HomeTZListType,
+ &ContactEditorData.HomeTZListTokens,
+ &ContactEditorData.HomeTZListMediatype,
+ &ContactEditorData.HomeTZListPref,
lboHomeTimezones,
(intValueSeek));
frameCETZ->ShowModal();
}
frmContactEditorTimezones *frameCETZ = new frmContactEditorTimezones ( this );
- frameCETZ->SetupPointers(&HomeTZList,
- &HomeTZListAltID,
- &HomeTZListPID,
- &HomeTZListType,
- &HomeTZListTokens,
- &HomeTZListMediatype,
- &HomeTZListPref,
+ frameCETZ->SetupPointers(&ContactEditorData.HomeTZList,
+ &ContactEditorData.HomeTZListAltID,
+ &ContactEditorData.HomeTZListPID,
+ &ContactEditorData.HomeTZListType,
+ &ContactEditorData.HomeTZListTokens,
+ &ContactEditorData.HomeTZListMediatype,
+ &ContactEditorData.HomeTZListPref,
lboHomeTimezones,
intSelectedData);
frameCETZ->SetEditorMode(TRUE, CE_HOME);
lboHomeTimezones->DeleteItem(longSelected);
- DeleteMapData(intSelectedData, &HomeTZList,
- &HomeTZListAltID, &HomeTZListPID,
- &HomeTZListType, &HomeTZListTokens,
- &HomeTZListMediatype, &HomeTZListPref);
+ DeleteMapData(intSelectedData, &ContactEditorData.HomeTZList,
+ &ContactEditorData.HomeTZListAltID, &ContactEditorData.HomeTZListPID,
+ &ContactEditorData.HomeTZListType, &ContactEditorData.HomeTZListTokens,
+ &ContactEditorData.HomeTZListMediatype, &ContactEditorData.HomeTZListPref);
}
frmContactEditorGeoposition *frameCEGeo = new frmContactEditorGeoposition ( this );
frameCEGeo->SetEditorMode(FALSE, CE_HOME);
- intResult = GetLastInt(&HomeGeographyList);
- frameCEGeo->SetupPointers(&HomeGeographyList,
- &HomeGeographyListAltID,
- &HomeGeographyListPID,
- &HomeGeographyListType,
- &HomeGeographyListTokens,
- &HomeGeographyListMediatype,
- &HomeGeographyListPref,
+ intResult = GetLastInt(&ContactEditorData.HomeGeographyList);
+ frameCEGeo->SetupPointers(&ContactEditorData.HomeGeographyList,
+ &ContactEditorData.HomeGeographyListAltID,
+ &ContactEditorData.HomeGeographyListPID,
+ &ContactEditorData.HomeGeographyListType,
+ &ContactEditorData.HomeGeographyListTokens,
+ &ContactEditorData.HomeGeographyListMediatype,
+ &ContactEditorData.HomeGeographyListPref,
lboHomeGeoposition,
(intValueSeek));
frameCEGeo->ShowModal();
}
frmContactEditorGeoposition *frameCEGeo = new frmContactEditorGeoposition ( this );
- frameCEGeo->SetupPointers(&HomeGeographyList,
- &HomeGeographyListAltID,
- &HomeGeographyListPID,
- &HomeGeographyListType,
- &HomeGeographyListTokens,
- &HomeGeographyListMediatype,
- &HomeGeographyListPref,
+ frameCEGeo->SetupPointers(&ContactEditorData.HomeGeographyList,
+ &ContactEditorData.HomeGeographyListAltID,
+ &ContactEditorData.HomeGeographyListPID,
+ &ContactEditorData.HomeGeographyListType,
+ &ContactEditorData.HomeGeographyListTokens,
+ &ContactEditorData.HomeGeographyListMediatype,
+ &ContactEditorData.HomeGeographyListPref,
lboHomeGeoposition,
intSelectedData);
frameCEGeo->SetEditorMode(TRUE, CE_HOME);
lboHomeGeoposition->DeleteItem(longSelected);
- DeleteMapData(intSelectedData, &HomeGeographyList,
- &HomeGeographyListAltID, &HomeGeographyListPID,
- &HomeGeographyListType, &HomeGeographyListTokens,
- &HomeGeographyListMediatype, &HomeGeographyListPref);
+ DeleteMapData(intSelectedData, &ContactEditorData.HomeGeographyList,
+ &ContactEditorData.HomeGeographyListAltID, &ContactEditorData.HomeGeographyListPID,
+ &ContactEditorData.HomeGeographyListType, &ContactEditorData.HomeGeographyListTokens,
+ &ContactEditorData.HomeGeographyListMediatype, &ContactEditorData.HomeGeographyListPref);
}
frmContactEditorWebsites *frameCEWeb = new frmContactEditorWebsites ( this );
frameCEWeb->SetEditorMode(FALSE, CE_HOME);
- intResult = GetLastInt(&HomeWebsiteList);
- frameCEWeb->SetupPointers(&HomeWebsiteList,
- &HomeWebsiteListAltID,
- &HomeWebsiteListPID,
- &HomeWebsiteListType,
- &HomeWebsiteListTokens,
- &HomeWebsiteListMediatype,
- &HomeWebsiteListPref,
+ intResult = GetLastInt(&ContactEditorData.HomeWebsiteList);
+ frameCEWeb->SetupPointers(&ContactEditorData.HomeWebsiteList,
+ &ContactEditorData.HomeWebsiteListAltID,
+ &ContactEditorData.HomeWebsiteListPID,
+ &ContactEditorData.HomeWebsiteListType,
+ &ContactEditorData.HomeWebsiteListTokens,
+ &ContactEditorData.HomeWebsiteListMediatype,
+ &ContactEditorData.HomeWebsiteListPref,
lboHomeWebsites,
(intValueSeek));
frameCEWeb->ShowModal();
}
frmContactEditorWebsites *frameCEWeb = new frmContactEditorWebsites ( this );
- frameCEWeb->SetupPointers(&HomeWebsiteList,
- &HomeWebsiteListAltID,
- &HomeWebsiteListPID,
- &HomeWebsiteListType,
- &HomeWebsiteListTokens,
- &HomeWebsiteListMediatype,
- &HomeWebsiteListPref,
+ frameCEWeb->SetupPointers(&ContactEditorData.HomeWebsiteList,
+ &ContactEditorData.HomeWebsiteListAltID,
+ &ContactEditorData.HomeWebsiteListPID,
+ &ContactEditorData.HomeWebsiteListType,
+ &ContactEditorData.HomeWebsiteListTokens,
+ &ContactEditorData.HomeWebsiteListMediatype,
+ &ContactEditorData.HomeWebsiteListPref,
lboHomeWebsites,
intSelectedData);
frameCEWeb->SetEditorMode(TRUE, CE_HOME);
lboHomeWebsites->DeleteItem(longSelected);
- DeleteMapData(intSelectedData, &HomeWebsiteList,
- &HomeWebsiteListAltID, &HomeWebsiteListPID,
- &HomeWebsiteListType, &HomeWebsiteListTokens,
- &HomeWebsiteListMediatype, &HomeWebsiteListPref);
+ DeleteMapData(intSelectedData, &ContactEditorData.HomeWebsiteList,
+ &ContactEditorData.HomeWebsiteListAltID, &ContactEditorData.HomeWebsiteListPID,
+ &ContactEditorData.HomeWebsiteListType, &ContactEditorData.HomeWebsiteListTokens,
+ &ContactEditorData.HomeWebsiteListMediatype, &ContactEditorData.HomeWebsiteListPref);
}
frmContactEditorTitles *frameCETitle = new frmContactEditorTitles ( this );
frameCETitle->SetEditorMode(FALSE, CE_HOME);
- intResult = GetLastInt(&HomeTitleList);
- frameCETitle->SetupPointers(&HomeTitleList,
- &HomeTitleListLanguage,
- &HomeTitleListAltID,
- &HomeTitleListPID,
- &HomeTitleListType,
- &HomeTitleListTokens,
- &HomeTitleListPref,
+ intResult = GetLastInt(&ContactEditorData.HomeTitleList);
+ frameCETitle->SetupPointers(&ContactEditorData.HomeTitleList,
+ &ContactEditorData.HomeTitleListLanguage,
+ &ContactEditorData.HomeTitleListAltID,
+ &ContactEditorData.HomeTitleListPID,
+ &ContactEditorData.HomeTitleListType,
+ &ContactEditorData.HomeTitleListTokens,
+ &ContactEditorData.HomeTitleListPref,
lboHomeTitles,
(intValueSeek));
frameCETitle->ShowModal();
}
frmContactEditorTitles *frameCETitle = new frmContactEditorTitles ( this );
- frameCETitle->SetupPointers(&HomeTitleList,
- &HomeTitleListLanguage,
- &HomeTitleListAltID,
- &HomeTitleListPID,
- &HomeTitleListType,
- &HomeTitleListTokens,
- &HomeTitleListPref,
+ frameCETitle->SetupPointers(&ContactEditorData.HomeTitleList,
+ &ContactEditorData.HomeTitleListLanguage,
+ &ContactEditorData.HomeTitleListAltID,
+ &ContactEditorData.HomeTitleListPID,
+ &ContactEditorData.HomeTitleListType,
+ &ContactEditorData.HomeTitleListTokens,
+ &ContactEditorData.HomeTitleListPref,
lboHomeTitles,
intSelectedData);
frameCETitle->SetEditorMode(TRUE, CE_HOME);
lboHomeTitles->DeleteItem(longSelected);
- DeleteMapData(intSelectedData, &HomeTitleList,
- &HomeTitleListLanguage, &HomeTitleListAltID,
- &HomeTitleListPID, &HomeTitleListType,
- &HomeTitleListTokens, &HomeTitleListPref);
+ DeleteMapData(intSelectedData, &ContactEditorData.HomeTitleList,
+ &ContactEditorData.HomeTitleListLanguage, &ContactEditorData.HomeTitleListAltID,
+ &ContactEditorData.HomeTitleListPID, &ContactEditorData.HomeTitleListType,
+ &ContactEditorData.HomeTitleListTokens, &ContactEditorData.HomeTitleListPref);
}
frmContactEditorRoles *frameCERole = new frmContactEditorRoles ( this );
frameCERole->SetEditorMode(FALSE, CE_HOME);
- intResult = GetLastInt(&HomeRoleList);
- frameCERole->SetupPointers(&HomeRoleList,
- &HomeRoleListLanguage,
- &HomeRoleListAltID,
- &HomeRoleListPID,
- &HomeRoleListType,
- &HomeRoleListTokens,
- &HomeRoleListPref,
+ intResult = GetLastInt(&ContactEditorData.HomeRoleList);
+ frameCERole->SetupPointers(&ContactEditorData.HomeRoleList,
+ &ContactEditorData.HomeRoleListLanguage,
+ &ContactEditorData.HomeRoleListAltID,
+ &ContactEditorData.HomeRoleListPID,
+ &ContactEditorData.HomeRoleListType,
+ &ContactEditorData.HomeRoleListTokens,
+ &ContactEditorData.HomeRoleListPref,
lboHomeRoles,
(intValueSeek));
frameCERole->ShowModal();
}
frmContactEditorRoles *frameCERole = new frmContactEditorRoles ( this );
- frameCERole->SetupPointers(&HomeRoleList,
- &HomeRoleListLanguage,
- &HomeRoleListAltID,
- &HomeRoleListPID,
- &HomeRoleListType,
- &HomeRoleListTokens,
- &HomeRoleListPref,
+ frameCERole->SetupPointers(&ContactEditorData.HomeRoleList,
+ &ContactEditorData.HomeRoleListLanguage,
+ &ContactEditorData.HomeRoleListAltID,
+ &ContactEditorData.HomeRoleListPID,
+ &ContactEditorData.HomeRoleListType,
+ &ContactEditorData.HomeRoleListTokens,
+ &ContactEditorData.HomeRoleListPref,
lboHomeRoles,
intSelectedData);
frameCERole->SetEditorMode(TRUE, CE_HOME);
lboHomeRoles->DeleteItem(longSelected);
- DeleteMapData(intSelectedData, &HomeRoleList,
- &HomeRoleListLanguage, &HomeRoleListAltID,
- &HomeRoleListPID, &HomeRoleListType,
- &HomeRoleListTokens, &HomeRoleListPref);
+ DeleteMapData(intSelectedData, &ContactEditorData.HomeRoleList,
+ &ContactEditorData.HomeRoleListLanguage, &ContactEditorData.HomeRoleListAltID,
+ &ContactEditorData.HomeRoleListPID, &ContactEditorData.HomeRoleListType,
+ &ContactEditorData.HomeRoleListTokens, &ContactEditorData.HomeRoleListPref);
}
frmContactEditorOrganisations *frameCEOrg = new frmContactEditorOrganisations ( this );
frameCEOrg->SetEditorMode(FALSE, CE_HOME);
- intResult = GetLastInt(&HomeOrganisationsList);
- frameCEOrg->SetupPointers(&HomeOrganisationsList,
- &HomeOrganisationsListLanguage,
- &HomeOrganisationsListSortAs,
- &HomeOrganisationsListAltID,
- &HomeOrganisationsListPID,
- &HomeOrganisationsListType,
- &HomeOrganisationsListTokens,
- &HomeOrganisationsListPref,
+ intResult = GetLastInt(&ContactEditorData.HomeOrganisationsList);
+ frameCEOrg->SetupPointers(&ContactEditorData.HomeOrganisationsList,
+ &ContactEditorData.HomeOrganisationsListLanguage,
+ &ContactEditorData.HomeOrganisationsListSortAs,
+ &ContactEditorData.HomeOrganisationsListAltID,
+ &ContactEditorData.HomeOrganisationsListPID,
+ &ContactEditorData.HomeOrganisationsListType,
+ &ContactEditorData.HomeOrganisationsListTokens,
+ &ContactEditorData.HomeOrganisationsListPref,
lboHomeOrganisations,
(intValueSeek));
frameCEOrg->ShowModal();
}
frmContactEditorOrganisations *frameCEOrg = new frmContactEditorOrganisations ( this );
- frameCEOrg->SetupPointers(&HomeOrganisationsList,
- &HomeOrganisationsListLanguage,
- &HomeOrganisationsListSortAs,
- &HomeOrganisationsListAltID,
- &HomeOrganisationsListPID,
- &HomeOrganisationsListType,
- &HomeOrganisationsListTokens,
- &HomeOrganisationsListPref,
+ frameCEOrg->SetupPointers(&ContactEditorData.HomeOrganisationsList,
+ &ContactEditorData.HomeOrganisationsListLanguage,
+ &ContactEditorData.HomeOrganisationsListSortAs,
+ &ContactEditorData.HomeOrganisationsListAltID,
+ &ContactEditorData.HomeOrganisationsListPID,
+ &ContactEditorData.HomeOrganisationsListType,
+ &ContactEditorData.HomeOrganisationsListTokens,
+ &ContactEditorData.HomeOrganisationsListPref,
lboHomeOrganisations,
intSelectedData);
frameCEOrg->SetEditorMode(TRUE, CE_HOME);
lboHomeOrganisations->DeleteItem(longSelected);
- DeleteMapData(intSelectedData, &HomeOrganisationsList,
- &HomeOrganisationsListLanguage, &HomeOrganisationsListSortAs,
- &HomeOrganisationsListAltID, &HomeOrganisationsListPID,
- &HomeOrganisationsListType, &HomeOrganisationsListTokens,
- &HomeOrganisationsListPref);
+ DeleteMapData(intSelectedData, &ContactEditorData.HomeOrganisationsList,
+ &ContactEditorData.HomeOrganisationsListLanguage, &ContactEditorData.HomeOrganisationsListSortAs,
+ &ContactEditorData.HomeOrganisationsListAltID, &ContactEditorData.HomeOrganisationsListPID,
+ &ContactEditorData.HomeOrganisationsListType, &ContactEditorData.HomeOrganisationsListTokens,
+ &ContactEditorData.HomeOrganisationsListPref);
}
frmContactEditorNotes *frameCENote = new frmContactEditorNotes ( this );
frameCENote->SetEditorMode(FALSE, CE_HOME);
- intResult = GetLastInt(&HomeNoteList);
- frameCENote->SetupPointers(&HomeNoteList,
- &HomeNoteListLanguage,
- &HomeNoteListAltID,
- &HomeNoteListPID,
- &HomeNoteListType,
- &HomeNoteListTokens,
- &HomeNoteListPref,
+ intResult = GetLastInt(&ContactEditorData.HomeNoteList);
+ frameCENote->SetupPointers(&ContactEditorData.HomeNoteList,
+ &ContactEditorData.HomeNoteListLanguage,
+ &ContactEditorData.HomeNoteListAltID,
+ &ContactEditorData.HomeNoteListPID,
+ &ContactEditorData.HomeNoteListType,
+ &ContactEditorData.HomeNoteListTokens,
+ &ContactEditorData.HomeNoteListPref,
lboHomeNotes,
(intValueSeek));
frameCENote->ShowModal();
}
frmContactEditorNotes *frameCENote = new frmContactEditorNotes ( this );
- frameCENote->SetupPointers(&HomeNoteList,
- &HomeNoteListLanguage,
- &HomeNoteListAltID,
- &HomeNoteListPID,
- &HomeNoteListType,
- &HomeNoteListTokens,
- &HomeNoteListPref,
+ frameCENote->SetupPointers(&ContactEditorData.HomeNoteList,
+ &ContactEditorData.HomeNoteListLanguage,
+ &ContactEditorData.HomeNoteListAltID,
+ &ContactEditorData.HomeNoteListPID,
+ &ContactEditorData.HomeNoteListType,
+ &ContactEditorData.HomeNoteListTokens,
+ &ContactEditorData.HomeNoteListPref,
lboHomeNotes,
intSelectedData);
frameCENote->SetEditorMode(TRUE, CE_HOME);
lboNotes->DeleteItem(longSelected);
- DeleteMapData(intSelectedData, &HomeNoteList,
- &HomeNoteListLanguage, &HomeNoteListAltID,
- &HomeNoteListPID, &HomeNoteListType,
- &HomeNoteListTokens, &HomeNoteListPref);
+ DeleteMapData(intSelectedData, &ContactEditorData.HomeNoteList,
+ &ContactEditorData.HomeNoteListLanguage, &ContactEditorData.HomeNoteListAltID,
+ &ContactEditorData.HomeNoteListPID, &ContactEditorData.HomeNoteListType,
+ &ContactEditorData.HomeNoteListTokens, &ContactEditorData.HomeNoteListPref);
}