Click here to Skip to main content
15,895,370 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralUNICODE problem Pin
jancsi7-Apr-04 6:32
jancsi7-Apr-04 6:32 
GeneralRe: UNICODE problem Pin
PJ Arends7-Apr-04 14:26
professionalPJ Arends7-Apr-04 14:26 
GeneralConversion... Pin
Anonymous7-Apr-04 6:31
Anonymous7-Apr-04 6:31 
GeneralRe: Conversion... Pin
Ravi Bhavnani7-Apr-04 7:30
professionalRavi Bhavnani7-Apr-04 7:30 
GeneralRe: Conversion... Pin
Renjith Ramachandran7-Apr-04 8:38
Renjith Ramachandran7-Apr-04 8:38 
Questioncan different Desktop post message to each? Pin
tank10257-Apr-04 6:11
tank10257-Apr-04 6:11 
AnswerRe: can different Desktop post message to each? Pin
Mike Dimmick7-Apr-04 6:17
Mike Dimmick7-Apr-04 6:17 
Questionplaying a movie in a dialog-box? Pin
cristane7-Apr-04 6:06
cristane7-Apr-04 6:06 
Hi. I have a question: how can I play a mpeg movie inside a dialog box, from a SDI application?

I tried the "easy" way... and it doesn't work...

(here's the "easy" way: after creating the dialog box, and the OnSomething function, and importing CMediaPlayer, I wrote this code:

CMediaPlayer dlg;
dlg.CreateWindow (.....yadda yadda...);
dlg.ShowWindow (WS_SHOW);
dlg.m_player.Open ("Test.mpeg");
dlg.m_player.Play ();

The funny thing is.... it works fine for a dialog-based application - when I write the last 2 lines of the above code, in the OnInitInstance() function.

Any suggestion welcome. (as you can see, I'm not a great programmer, so please don't laugh )

Thanks.

We are accidents waiting to happen...
AnswerRe: playing a movie in a dialog-box? Pin
Prakash Nadar7-Apr-04 6:19
Prakash Nadar7-Apr-04 6:19 
Generalpointer to virtual function Pin
RalfPeter7-Apr-04 5:56
RalfPeter7-Apr-04 5:56 
GeneralRe: pointer to virtual function Pin
Mike Dimmick7-Apr-04 6:24
Mike Dimmick7-Apr-04 6:24 
GeneralRe: pointer to virtual function Pin
Prakash Nadar7-Apr-04 6:29
Prakash Nadar7-Apr-04 6:29 
GeneralRe: pointer to virtual function Pin
RalfPeter7-Apr-04 11:13
RalfPeter7-Apr-04 11:13 
GeneralC++ & MFC -> Listbox Question Pin
Qualvis7-Apr-04 5:45
Qualvis7-Apr-04 5:45 
GeneralRe: C++ & MFC -> Listbox Question Pin
David Crow7-Apr-04 5:47
David Crow7-Apr-04 5:47 
GeneralRe: C++ & MFC -> Listbox Question Pin
Wes Aday7-Apr-04 11:13
professionalWes Aday7-Apr-04 11:13 
GeneralRe: C++ & MFC -> Listbox Question Pin
Qualvis7-Apr-04 11:46
Qualvis7-Apr-04 11:46 
GeneralRe: C++ & MFC -> Listbox Question Pin
Wes Aday7-Apr-04 12:09
professionalWes Aday7-Apr-04 12:09 
GeneralRe: C++ & MFC -> Listbox Question Pin
Qualvis7-Apr-04 22:08
Qualvis7-Apr-04 22:08 
GeneralRe: C++ & MFC -> Listbox Question Pin
Qualvis7-Apr-04 22:32
Qualvis7-Apr-04 22:32 
GeneralRe: C++ & MFC -> Listbox Question Pin
Wes Aday8-Apr-04 7:08
professionalWes Aday8-Apr-04 7:08 
Generalsetting page orientation Pin
kzyczynski7-Apr-04 5:31
kzyczynski7-Apr-04 5:31 
GeneralRe: setting page orientation Pin
Roger Allen7-Apr-04 5:38
Roger Allen7-Apr-04 5:38 
GeneralRe: setting page orientation Pin
kzyczynski7-Apr-04 10:20
kzyczynski7-Apr-04 10:20 
GeneralSocket listen backlog woes Pin
Rob Caldecott7-Apr-04 5:15
Rob Caldecott7-Apr-04 5:15 

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.