Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: QTMLSetWindowWndProc
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: QTMLSetWindowWndProc



> After a little bit of experimentation I have found that
> QTMLSetWindowWndProc is VERY important. As I guessed, QTML needs to
> preprocess the various window messages before you get ahold of them. If
> you set a window proc through the normal Windows mechanisms you will be
> the first to process the various messages.

Hi Chris,
how about MacSetPort, are you using it at all after CreatePortAssociation? Whether I use that one or not I don't see any difference.
Also, are you calling QTMLSetWindowWndProc after CreatePortAssociation? (I assume yes)

I'd be grateful if anyone could provide me some more info on the correct order of calls to setup my window to always work OK with
QuickTime...

I'm now overriding my control's ancestor WndProc and implementing it so that it passes events to QTML, then calls DefaultWindowProc
(maybe I should call the "inherited WndProc" of the ancestor instead, not sure). In the initialization phase, when I get
notification that a window handle has been created (window proc has already been assigned to it by Delphi), I call
CreatePortAssociation and the MacSetPort...
_______________________________________________
quicktime-api mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/quicktime-api
Do not post admin requests to the list. They will be ignored.

References: 
 >RE: QTMLSetWindowWndProc (From: Rolf Kalbermatter <email@hidden>)
 >Re: QTMLSetWindowWndProc (From: "Greg Chapman" <email@hidden>)
 >Re: QTMLSetWindowWndProc (From: email@hidden (Chris Large))
 >Re: QTMLSetWindowWndProc (From: "George Birbilis" <email@hidden>)
 >Re: QTMLSetWindowWndProc (From: email@hidden (Chris Large))



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

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.