This site is no longer active and is available for archival purposes only. Registration and login is disabled.

pWnd->SendMessage(WM_CLOSE) cannot close


pWnd->SendMessage(WM_CLOSE) cannot close

Postby Students » Mar 20, 2003 @ 1:30pm

I use this code.

CWnd* pWnd = CWnd::FindWindow(NULL,_T("Windows Media")
if(pWnd)
{pWnd->SendMessage(WM_CLOSE);

This work when the WMP stop playing the file.
Cannot when WMP is still Playing the file.

Thanks
Students
 


Postby Dan East » Mar 20, 2003 @ 3:24pm

User avatar
Dan East
Site Admin
 
Posts: 5264
Joined: Jan 25, 2001 @ 5:19pm
Location: Virginia, USA


Return to Windows Mobile


Sort


Forum Description

A discussion forum for mobile device developers on the Windows Mobile platform. Any platform specific topics are welcome.

Moderators:

Dan East, sponge, Digby, David Horn, Kevin Gelso, RICoder

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum