Browse - programming tips - is mfc quicktime movie playingDate: 2009oct28 Language: C/C++ Platform: MFC OS: Windows Q. I am using the Quicktime control in MFC. How I can tell if a movie is playing? (get_StreamingStatusCode() doesn't say.) A. I tried many things and finally found that the rate will tell you. BOOL IsPlaying(const CComPtr<IQTMovie> movie) { float rate; if (FAILED(movie->get_Rate(&rate))) return FALSE; return rate > 0.0; }
Add a commentSign in to add a comment |