Click here to Skip to main content
15,897,704 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Is there an equivalent function to "DoModal()" for modeless dialogs? Pin
Nick Parker11-May-03 10:47
protectorNick Parker11-May-03 10:47 
AnswerRe: Is there an equivalent function to "DoModal()" for modeless dialogs? Pin
John M. Drescher12-May-03 5:01
John M. Drescher12-May-03 5:01 
Generalproblem with ONDRAW Pin
aguest11-May-03 9:15
aguest11-May-03 9:15 
GeneralACtiveX COntrol in VC++ Pin
RaajaOfSelf11-May-03 8:55
RaajaOfSelf11-May-03 8:55 
QuestionHow to launch 'minimised'? Pin
Robert Palma Jr.11-May-03 8:54
Robert Palma Jr.11-May-03 8:54 
AnswerRe: How to launch 'minimised'? Pin
Matt Newman11-May-03 9:03
Matt Newman11-May-03 9:03 
GeneralRe: How to launch 'minimised'? Pin
Robert Palma Jr.13-May-03 6:08
Robert Palma Jr.13-May-03 6:08 
AnswerRe: How to launch 'minimised'? Pin
sps-itsec4611-May-03 10:26
sps-itsec4611-May-03 10:26 
GeneralRe: How to launch 'minimised'? Pin
Robert Palma Jr.13-May-03 6:06
Robert Palma Jr.13-May-03 6:06 
Generalbest c++ tool in unix Pin
includeh1011-May-03 8:30
includeh1011-May-03 8:30 
GeneralRe: best c++ tool in unix Pin
Stephane Rodriguez.11-May-03 8:54
Stephane Rodriguez.11-May-03 8:54 
GeneralRe: best c++ tool in unix Pin
Matt Newman11-May-03 9:04
Matt Newman11-May-03 9:04 
GeneralRe: best c++ tool in unix Pin
Johann Gerell11-May-03 9:13
Johann Gerell11-May-03 9:13 
QuestionWindows Media Player 9 bug ?? Pin
v3man11-May-03 7:51
v3man11-May-03 7:51 
Hi,
I have embedded a windows media player 9 control in a CFormView of an SDI Appln. The default properties of the control in the resource dialog is set as
1) Play Full Screen - true
2) Auto Start - false
3) File Name - swiss.avi
4) Windowless video - true
5) Mode - None (No button controls)

In the code I trigger the AVI to play using
m_Player.SetUrl(avi_file); // avi_file is a variable that holds different AVI file names
m_Player.GetControls().play();

if (! m_Player.GetFullScreen())
m_Player.SetFullScreen(true);

It doesn't play the file in fullscreen when I run it. In fact it throws a blank error message box after it starts playing the file. I want to be able to switch the AVI files based on the key pressed by the user.

If I comment the Get/Set fullscreen code....it plays in fullscreen mode the first time and not after that. I don't know if this is a bug in windows media player 9 or am I doing something wrong ?

Also how do I maximize the windows media control to occupy the entire form view area when it starts up ?

Please help.

Thanks
v3man

Generalprintf and unicode Pin
Matt Newman11-May-03 7:26
Matt Newman11-May-03 7:26 
GeneralRe: printf and unicode Pin
Nish Nishant11-May-03 7:56
sitebuilderNish Nishant11-May-03 7:56 
GeneralRe: printf and unicode Pin
Matt Newman11-May-03 8:11
Matt Newman11-May-03 8:11 
GeneralRe: printf and unicode Pin
Chris Losinger11-May-03 11:10
professionalChris Losinger11-May-03 11:10 
GeneralRe: printf and unicode Pin
Matt Newman12-May-03 4:27
Matt Newman12-May-03 4:27 
Generala basic dll question Pin
transoft11-May-03 6:52
transoft11-May-03 6:52 
GeneralRe: a basic dll question Pin
Nish Nishant11-May-03 7:49
sitebuilderNish Nishant11-May-03 7:49 
GeneralRe: a basic dll question Pin
transoft11-May-03 8:19
transoft11-May-03 8:19 
GeneralRe: a basic dll question Pin
Matt Newman11-May-03 9:06
Matt Newman11-May-03 9:06 
Generalencrypted binary variable Pin
noxon11-May-03 6:03
noxon11-May-03 6:03 
GeneralRe: encrypted binary variable Pin
Nish Nishant11-May-03 7:44
sitebuilderNish Nishant11-May-03 7:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.