Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

QuickTime 7 (7.0.2.70) ActiveX control, how to subscribe for QTEvent events?



Hello everyone
 
over the past weeks I've been experimenting with the new QuckTime ActiveX control, and I realize that it's still being changed quite a bit, and no documentation seems to be available yet. Nevertheless, I find it very practical as the simpler functionality is intuitive to use, and with a little QuickTime api knowldege, many other aspects of the control can be guessed at as well.
 
What I haven't figured out, however, is how I can make the control fire QTEvent notifications. And I suspect that QTEvent is the only way to get more precise notifications about what the control is doing.
With the version 7.0.2.70 update (public preview 3, I believe), for example, the control doesn't seem to be sending messages like "Buffering..." as StatusUpdate events anymore. So if I'd like "Buffering.." back, I'd probably have to subscribe to some event interface now...
 
I've tried subscribing to events in the following way:
 
axQTControl.QuickTime.EventListeners.Add(
    QTOLibrary.QTEventClassesEnum.qtEventClassStateChange,
    QTOLibrary.QTEventIDsEnum.qtEventLoadStateDidChange,
    1,    //what flags are needed here?
    null);    //probably optional, right?
 
I've tried registring for events with other interfaces (not just control.QuickTime) as well, and I've called EventListeners.Add() with other argument combinations - all without success.
 
My question is therefore: Does anyone have more detailed knowledge on how to get QTEvent events out of the new QuickTime control?
 
Besides the fact that I'm not entirely sure about which combinations of QTEventClassesEnum and QTEventIDsEnum are allowed, I have no clue as to what values tha Flags prameter (3rd argument of the EventListeners.Add() method) should be. The fourth argument I'd expect to be some subscriber reference.
 
Any help would be greatly apprecieated, thanks.
 
 
Baenz
 
 
 
 
Bendicht Thomet - Senior Software Engineer
SwissQual AG - Gewerbestrasse 2 - CH-4528 Zuchwil - Switzerland
Tel: +41 32 685 08 30 / Fax: +41 32 685 08 31
email@hidden
-----------------------------------------------------------------
The information in this e-mail is confidential and may be legally
privileged. It is intended solely for the addressee(s). It may
contain privileged and confidential information. If you are not
the intended recipient, please destroy this message and notify
us immediately. Any disclosure, copying or distribution of this
message is prohibited and may be unlawful.
-----------------------------------------------------------------
 _______________________________________________
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



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.