⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 addtracksdlg.h

📁 media player 控件源码 用EVC编译可以进行对WINCE下media player控制
💻 H
字号:
//
// Copyright (c) Microsoft Corporation.  All rights reserved.
//
//
// Use of this source code is subject to the terms of the Microsoft end-user
// license agreement (EULA) under which you licensed this SOFTWARE PRODUCT.
// If you did not accept the terms of the EULA, you are not authorized to use
// this source code. For a copy of the EULA, please see the LICENSE.RTF on your
// install media.
//
///////////////////////////////////////////////////////////////////////////////
// File: AddTracksDlg.h
//
// Desc: This dialog allows media to be added to a playlist.  When the OK
//       button is pressed, each selected track is added to the playlist.
//
///////////////////////////////////////////////////////////////////////////////

#ifndef _ADDTRACKSDLG_H_
#define _ADDTRACKSDLG_H_

#include <windows.h>
#include <commctrl.h>

#include "BaseDialog.h"
#include "Plist.h"

class CAddTracksDialog : public CBaseDialog
{
public:
    CAddTracksDialog(HWND hwndParent, CPlaylist * pPlaylist);
    ~CAddTracksDialog();

    HRESULT CreateBars();
    HRESULT UpdateInfo();
    LONG    UpdateItem(int i, CMediaClip * pClip);

    virtual BOOL DialogProc(UINT msg, WPARAM wParam, LPARAM lParam);

    BOOL OnCommand(int iControl);
    void OnInitDialog();
    BOOL OnNotify(NMHDR *pNotify);
    void OnSize(int cx, int cy);

private:
    CPlaylist * m_pPlaylist;
    CPlaylist * m_pModPlaylist;

    HIMAGELIST m_himgFolders;
    HIMAGELIST m_himgLocationList;

    HWND m_hwndMB;
    HWND m_hwndTitle;
    HWND m_hwndTrackList;

    bool m_bSelectedAll;
};

#endif /* _ADDTRACKSDLG_H_ */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -