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

📄 adddeletedlg.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: AddDeleteDlg.h
//
// Desc: This dialog (Organize Favorites) allows playlists to be created,
//       renamed, copied, or deleted.  When leaving this dialog, which ever
//       entry is selected at the time the OK button is pressed will be used
//       as the "current playlist."  If that playlist is empty, the Add Tracks
//       dialog will be brought up to allow tracks to be added.
//
///////////////////////////////////////////////////////////////////////////////

#ifndef _ADDDELETEDLG_H_
#define _ADDDELETEDLG_H_

#include "BaseDialog.h"
#include <shellsdk.h>

class CAddDeleteDialog : public CBaseDialog
{
public:
    CAddDeleteDialog(HWND hwndParent, HWND hwndMain);

    HRESULT AddPlaylist(LPTSTR szPlaylistName, int iPos);
    HRESULT DeletePlaylist(int iPlaylist);

    void    DisplayContextMenu(POINT ptAction);

    HRESULT LoadAllPlaylists();

    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:
    HWND m_hwndAdd;
    HWND m_hwndDelete;
    HWND m_hwndRename;
    HWND m_hwndList;
    HWND m_hwndMain;
    HWND m_hwndStatic;

    int  m_iCurrentPlaylist;

    SHACTIVATEINFO m_shai;
    BOOL m_fSipOn;
};

#endif /* _ADDDELETEDLG_H_ */

⌨️ 快捷键说明

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