QTMovieView disabled

  • Hi,
    I initiate a QTMovieView and retain it.
    I initiate a NSImageView and retain it.
    I have an NSView "displayView" in a window.
    When the user chooses a movie file, I remove the NSImageView  and add the
    QTMovieView to the displayView.
    When the user chooses an imagefile, I remove the QTMovieView and add the
    NSImageView to the displayView.
    Everything works very well.

    Now, the user wants to use these outlets in a brand new window. So he clicks
    on a button and I remove the displayView from the current window, I create a
    brand new window (same class of the original window, same delegate) and put
    the displayView into this new window.

    But now, when the user chooses a movie file, I can quite see the QTMovieView
    but it looks dimmed so I can't longer play the movie. I noted that if I
    activate a different window then I activate again this window, the
    QTMovieView gets enabled again so I can play the movie. And, if the user
    chooses an image file then again a movie file, the QTMovieView gets dimmed
    again. Why does the QTMovieView get dimmed in this new window and never in
    the original window? And why when I activate the window does the QTMovieView
    get enabled again? How to fix this trouble?

    Best Regards
    email: <archidea...>
previous month december 2007 next month
          1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
Go to today