hey, that's my blog. When a dialog box becomes modal, it disables the main window of the application, unless that dialog box is itself the main window and there is no parent/owner. Since the export is displaying and redrawing, it's not a message pump problem, the problem must be that something has caused the dialog bot to disabled. I know nothing of delphi, but you need to ask, what is the main window of your application, and it is disabling its children when it gets disabled. If you intended to make a console application, and it's really set as a true win32 console application, it's possible that this configuration isn't actually supported and you may need to create a GUI application with a main window (even if it does nothing). You should refer to c# and Visual Basic (VB) examples. One of the technote actually
http://developer.apple.com/samplecode/QuickTime/idxQuickTimeforWindows-date.html#doclist
one of the technote actually refers to an export dialog freeze like this, but it's specific to VB
http://developer.apple.com/technotes/tn2006/tn2120.html
> -----Original Message-----
> From: Zahir Lalani
>
> Hello All
>
> I am linking to the QT com object from Delphi and trying to save the
> settings to an xml file. However when running the following code:
>
> if QTControl1.Movie.canExport then begin
> qt := QTControl1.QuickTime;
> if qt.Exporters.Count = 0 then
> qt.Exporters.Add;
>
> exp := qt.Exporters.Item[1];
> exp.TypeName := 'QuickTime Movie';
> exp.SetDataSource(QTControl1.Movie);
> exp.ShowSettingsDialog;
> sett := exp.Settings;
> end
>
> When the settings dialog is shown, I have to kill the app via the
> debugger. I cannot click on any buttons at all even though
> the settings
> window is in focus. Maybe I am not doing the proper thing here? What I
> need to be able to do is to show the normal export dialog, allow the
> user to set it as required, and then on exit, capture the settings and
> save them to a file.
>
> I got the above code from an XSI blog.
>
> Zahir Lalani
_______________________________________________
Do not post admin requests to the list. They will be ignored.
QuickTime-API mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quicktime-api/email@hidden
This email sent to email@hidden