- int intResult = 0;
-
- frmContactEditorKey *frameCEKey = new frmContactEditorKey ( this );
- frameCEKey->SetEditorMode(FALSE);
- intResult = GetLastInt(&KeyList);
- frameCEKey->SetupPointers(&KeyList,
- &KeyListAltID,
- &KeyListPID,
- &KeyListKeyType,
- &KeyListDataType,
- &KeyListType,
- &KeyListTokens,
- &KeyListPref,
- lboKeys,
- (intValueSeek));
- frameCEKey->ShowModal();
- delete frameCEKey;
- frameCEKey = NULL;
+
+ // Bring up the window for adding a key.
+
+ frmContactEditorKey *frameCEKey = new frmContactEditorKey ( this );
+ frameCEKey->SetEditorMode(FALSE);
+ frameCEKey->SetupPointers(&ContactEditorData.KeyList,
+ &ContactEditorData.KeyListAltID,
+ &ContactEditorData.KeyListPID,
+ &ContactEditorData.KeyListKeyType,
+ &ContactEditorData.KeyListDataType,
+ &ContactEditorData.KeyListType,
+ &ContactEditorData.KeyListTokens,
+ &ContactEditorData.KeyListPref,
+ lboKeys,
+ (intValueSeek));
+ frameCEKey->ShowModal();
+ delete frameCEKey;
+ frameCEKey = NULL;
+ intValueSeek++;
+