- int intResult = 0;
-
- frmContactEditorSound *frameCESound = new frmContactEditorSound ( this );
- frameCESound->SetEditorMode(FALSE);
- intResult = GetLastInt(&SoundsList);
- frameCESound->SetupPointers(&SoundsList,
- &SoundsListAltID,
- &SoundsListPID,
- &SoundsListType,
- &SoundsListAudioType,
- &SoundsListAudioEncType,
- &SoundsListTokens,
- &SoundsListMediatype,
- &SoundsListPref,
- lboSounds,
- (intValueSeek));
- frameCESound->ShowModal();
- delete frameCESound;
- frameCESound = NULL;
+
+ // Bring up a form to add sound.
+
+ frmContactEditorSound *frameCESound = new frmContactEditorSound ( this );
+ frameCESound->SetEditorMode(FALSE);
+ frameCESound->SetupPointers(&ContactEditorData.SoundsList,
+ &ContactEditorData.SoundsListAltID,
+ &ContactEditorData.SoundsListPID,
+ &ContactEditorData.SoundsListType,
+ &ContactEditorData.SoundsListAudioType,
+ &ContactEditorData.SoundsListAudioEncType,
+ &ContactEditorData.SoundsListTokens,
+ &ContactEditorData.SoundsListMediatype,
+ &ContactEditorData.SoundsListPref,
+ lboSounds,
+ (intValueSeek));
+ frameCESound->ShowModal();
+ delete frameCESound;
+ frameCESound = NULL;
+