Click here to Skip to main content
15,918,742 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
QuestionHow to download a file without common file download dialog Pin
yu-yu21-Oct-03 22:46
yu-yu21-Oct-03 22:46 
AnswerRe: How to download a file without common file download dialog Pin
Michael Dunn22-Oct-03 12:47
sitebuilderMichael Dunn22-Oct-03 12:47 
GeneralRe: How to download a file without common file download dialog Pin
yu-yu22-Oct-03 14:28
yu-yu22-Oct-03 14:28 
GeneralRe: How to download a file without common file download dialog Pin
Michael Dunn22-Oct-03 15:25
sitebuilderMichael Dunn22-Oct-03 15:25 
GeneralRe: How to download a file without common file download dialog Pin
yu-yu22-Oct-03 16:07
yu-yu22-Oct-03 16:07 
GeneralControlling the MediaPlayer ocx control Pin
bryces21-Oct-03 16:02
bryces21-Oct-03 16:02 
GeneralRe: Controlling the MediaPlayer ocx control Pin
Abhishek Srivastava21-Oct-03 19:20
Abhishek Srivastava21-Oct-03 19:20 
GeneralRe: Controlling the MediaPlayer ocx control Pin
bryces22-Oct-03 0:06
bryces22-Oct-03 0:06 
Hi Abhishek,

Thankyou for your help.

I have done what you said above, but need a little more guidance. When you say at the end "Using this pointer query for other media control interfaces..and enjoy coding"... what is the other media control interfaces? What interfaces/objects should I be aiming to query too...?

I want to be able to do something like....

HWND hwn=GetDlgItem(IDC_MEDIACONTROL1)
CWnd * wnd=new CWnd();
wnd->Attach(hwn);
IUnknownPtr pUnknown;
pUnknown = GetControlUnknown();

//.......
//Query interface to some type of MediaPlayer object
IMediaPlayerPtr pMyPretendMediaPlayerObject; //any ideas on the correct interface?

pMyPretendMediaPlayerObject->Open("The path to the file I want");
pMyPretendMediaPlayerObject->Play();
//.......

Does the logic for this seem ok.... or could you point me to somewhere I could read up on this.

thanks for your help

cheers
Bryce
GeneralRe: Controlling the MediaPlayer ocx control Pin
Abhishek Srivastava22-Oct-03 1:50
Abhishek Srivastava22-Oct-03 1:50 
GeneralRe: Controlling the MediaPlayer ocx control Pin
bryces22-Oct-03 20:30
bryces22-Oct-03 20:30 
GeneralRe: Controlling the MediaPlayer ocx control Pin
Michael Dunn22-Oct-03 12:48
sitebuilderMichael Dunn22-Oct-03 12:48 
GeneralRe: Controlling the MediaPlayer ocx control Pin
bryces22-Oct-03 17:16
bryces22-Oct-03 17:16 
GeneralRe: Controlling the MediaPlayer ocx control Pin
Michael Dunn22-Oct-03 20:29
sitebuilderMichael Dunn22-Oct-03 20:29 
GeneralRe: Controlling the MediaPlayer ocx control Pin
rbeckett16-Nov-03 14:40
rbeckett16-Nov-03 14:40 
GeneralCollections and containers. Pin
WREY20-Oct-03 5:30
WREY20-Oct-03 5:30 
GeneralRe: Collections and containers. Pin
ZoogieZork20-Oct-03 5:44
ZoogieZork20-Oct-03 5:44 
GeneralRe: Collections and containers. Pin
WREY20-Oct-03 6:07
WREY20-Oct-03 6:07 
GeneralRe: Collections and containers. Pin
ZoogieZork20-Oct-03 7:01
ZoogieZork20-Oct-03 7:01 
GeneralRe: Collections and containers. Pin
WREY20-Oct-03 7:52
WREY20-Oct-03 7:52 
General"-Embedding" in the SCM - Atl Servers/Services Pin
IanF20-Oct-03 3:48
IanF20-Oct-03 3:48 
GeneralContainer & Dll Pin
Bernhard20-Oct-03 3:13
Bernhard20-Oct-03 3:13 
GeneralRe: Container & Dll Pin
geo_m21-Oct-03 1:50
geo_m21-Oct-03 1:50 
GeneralRe: Container & Dll Pin
Bernhard21-Oct-03 19:16
Bernhard21-Oct-03 19:16 
GeneralCAccessor question Pin
Paul Silvernail20-Oct-03 0:31
Paul Silvernail20-Oct-03 0:31 
GeneralAny questions Pin
El'Cachubrey19-Oct-03 23:14
El'Cachubrey19-Oct-03 23:14 

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.