怎么知道mp3文件已经播完了?(MCIWndCreate) 我用MCIWndCreate()创建了一介播放窗口,我想在放完一首的时候接着放另一首,可是不知道什么时候完,各位帮帮忙?! 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 The MCIWNDM_NOTIFYMODE message notifies the parent window of an application that the operating mode of the MCI device has changed. The lParam parameter of this message identifies the new mode, such as MCI_MODE_STOP. dwMCIWndStyle = WS_CHILD | // child window WS_VISIBLE | // visible MCIWNDF_NOTIFYMODE | // notifies of mode changes MCIWNDF_NOPLAYBAR; // hides toolbar g_hwndMCIWnd = MCIWndCreate(hwnd, g_hinst, dwMCIWndStyle, NULL); case MCIWNDM_NOTIFYMODE: if (lParam == MCI_MODE_STOP) // device stopped { MessageBox(hwnd,"","Closing Device",MB_OK); MCIWndClose(g_hwndMCIWnd); } 关于Stereoscopic Player 右键点击属性页的标题栏,怎么让它弹出系统菜单 [vc][首次提问]regex_search()匹配成功后,如何得知匹配的子串在原字符串中的位置(索引)? CSoket网络编程,怎么发送数据包 送分!!求对图片实现拖动显示(用MOUSE)和缩放,旋转的源代码或方法.多谢!!! 问一个问题,高手请帮忙 请问信誉分。。。是什么啊 debug版本和release版本问题! 如何设置CListCtrl 有表格线 线程中弹出一个模态对话框,结果使得整个UI卡住,动不了,该怎样处理? 初学者问题:有些技术概念不懂? 谁能给我写一段完整的代码,我会感激不尽!
WS_VISIBLE | // visible
MCIWNDF_NOTIFYMODE | // notifies of mode changes
MCIWNDF_NOPLAYBAR; // hides toolbar
g_hwndMCIWnd = MCIWndCreate(hwnd,
g_hinst, dwMCIWndStyle, NULL);
case MCIWNDM_NOTIFYMODE:
if (lParam == MCI_MODE_STOP) // device stopped
{
MessageBox(hwnd,"","Closing Device",MB_OK);
MCIWndClose(g_hwndMCIWnd);
}