www.pudn.com > VolumeBar.rar > VolumeBarDlg.h
// VolumeBarDlg.h : header file
//
#pragma once
#include "afxwin.h"
#include "SliderCtrlEx.h"
#include "bitmapslider.h"
// CVolumeBarDlg dialog
class CVolumeBarDlg : public CDialog
{
// Construction
public:
CVolumeBarDlg(CWnd* pParent = NULL); // standard constructor
CSliderCtrlEx m_Slider;
// Dialog Data
enum { IDD = IDD_VOLUMEBAR_DIALOG };
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg LRESULT OnBitmapSliderMoved(WPARAM wParam, LPARAM lParam);
afx_msg LRESULT OnBitmapSliderMoving(WPARAM wParam, LPARAM lParam);
DECLARE_MESSAGE_MAP()
public:
CBitmapSlider m_Slider2;
};