www.pudn.com > EndpointDetection_Pitch.zip > RelDlg.h
// RelDlg.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CRelDlg dialog
#include "xShadeButton.h"
//{{AFX_INCLUDES()
#include "sscbctrl.h"
#include "sspbctrl.h"
//}}AFX_INCLUDES
class CRelDlg : public CDialog
{
// Construction
public:
CRelDlg(CWnd* pParent = NULL); // standard constructor
virtual void ChangeRelativeNoteBoxes(int);
virtual void ChangeRelativeSelectedNoteBoxes(int);
virtual void A_Selection_Clicked_Routine(int);
virtual void A_Guess_Clicked_Routine(int);
virtual void PlayTwoNotes();
virtual void KillGuessedCheckBoxes();
virtual void EnableGuessedCheckBoxes();
virtual void EnableSelectionCheckBoxes();
virtual void CompressString(char*, char*);
virtual void DoRelativeWait(int);
virtual void TurnOffAllSelected();
virtual long PlayRelativeNote(int, int);
virtual void RelativeReplayNotes();
int m_relative_Low_Scroll_Position;
int m_relative_High_Scroll_Position;
int m_relative_Speed_Scroll_Position;
int m_relative_Scroll_Min;
int m_relative_Scroll_Max;
int m_relative_Speed_Scroll_Min;
int m_relative_Speed_Scroll_Max;
// Dialog Data
//{{AFX_DATA(CRelDlg)
enum { IDD = IDD_RELATIVE_DIALOG };
CxShadeButton m_RelativeTitle;
CxShadeButton m_RelativePlayNotes;
CxShadeButton m_RelativeScore;
CScrollBar m_relative_speed;
CScrollBar m_relative_low_range;
CScrollBar m_relative_high_range;
CString m_relative_high_note;
CString m_relative_interval;
CString m_relative_low_note;
CxShadeButton m_relative_major_2nd;
CxShadeButton m_relative_major_3rd;
CxShadeButton m_relative_major_6th;
CxShadeButton m_relative_major_7th;
CxShadeButton m_relative_diminished_5th;
CxShadeButton m_relative_minor_2nd;
CxShadeButton m_relative_minor_3rd;
CxShadeButton m_relative_minor_6th;
CxShadeButton m_relative_minor_7th;
CxShadeButton m_relative_perfect_4th;
CxShadeButton m_relative_perfect_5th;
CxShadeButton m_relative_perfect_8th;
CxShadeButton m_relative_play_notes;
CxShadeButton m_relative_unison;
CxShadeButton m_relative_selected_unison;
CxShadeButton m_relative_selected_minor_2nd;
CxShadeButton m_relative_selected_major_2nd;
CxShadeButton m_relative_selected_minor_3rd;
CxShadeButton m_relative_selected_major_3rd;
CxShadeButton m_relative_selected_perfect_4th;
CxShadeButton m_relative_selected_diminished_5th;
CxShadeButton m_relative_selected_perfect_5th;
CxShadeButton m_relative_selected_minor_6th;
CxShadeButton m_relative_selected_major_6th;
CxShadeButton m_relative_selected_minor_7th;
CxShadeButton m_relative_selected_major_7th;
CxShadeButton m_relative_selected_perfect_8th;
CxShadeButton m_relative_selected_all;
int m_up;
CString m_QuickScore;
CxShadeButton m_GetOutOfRelative;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CRelDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
UINT m_uTimerID;
// Generated message map functions
//{{AFX_MSG(CRelDlg)
afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
afx_msg void OnRelativeSelectedUnison(short FAR* Value);
afx_msg void OnRelativeSelectedMinor2nd(short FAR* Value);
afx_msg void OnRelativeSelectedMajor2nd(short FAR* Value);
afx_msg void OnRelativeSelectedMinor3rd(short FAR* Value);
afx_msg void OnRelativeSelectedMajor3rd(short FAR* Value);
afx_msg void OnRelativeSelectedPerfect4th(short FAR* Value);
afx_msg void OnRelativeSelectedDiminished5th(short FAR* Value);
afx_msg void OnRelativeSelectedPerfect5th(short FAR* Value);
afx_msg void OnRelativeSelectedMinor6th(short FAR* Value);
afx_msg void OnRelativeSelectedMajor6th(short FAR* Value);
afx_msg void OnRelativeSelectedMinor7th(short FAR* Value);
afx_msg void OnRelativeSelectedMajor7th(short FAR* Value);
afx_msg void OnRelativeSelectedPerfect8th(short FAR* Value);
afx_msg void OnRelativeSelectedAll(short FAR* Value);
afx_msg void OnRelativeUnison(short FAR* Value);
afx_msg void OnRelativeMinor2nd(short FAR* Value);
afx_msg void OnRelativeMajor2nd(short FAR* Value);
afx_msg void OnRelativeMinor3rd(short FAR* Value);
afx_msg void OnRelativeMajor3rd(short FAR* Value);
afx_msg void OnRelativePerfect4th(short FAR* Value);
afx_msg void OnRelativeDiminished5th(short FAR* Value);
afx_msg void OnRelativePerfect5th(short FAR* Value);
afx_msg void OnRelativeMinor6th(short FAR* Value);
afx_msg void OnRelativeMajor6th(short FAR* Value);
afx_msg void OnRelativeMinor7th(short FAR* Value);
afx_msg void OnRelativeMajor7th(short FAR* Value);
afx_msg void OnRelativePerfect8th(short FAR* Value);
afx_msg void OnRelativeAll(short FAR* Value);
virtual BOOL OnInitDialog();
afx_msg void OnTimer(UINT nFlags);
afx_msg void OnRButtonDown(UINT nFlags, CPoint point);
afx_msg void OnRButtonUp(UINT nFlags, CPoint point);
afx_msg void OnUp();
afx_msg void OnDown();
afx_msg void OnUpdown();
afx_msg void OnDestroy();
afx_msg void OnGetOutOfRelative();
afx_msg void OnRelativeScore();
afx_msg void OnRelativePlayNotes();
afx_msg void OnRelativeButtonMove(UINT nFlags, CPoint point);
afx_msg void OnRelativeButtonLeave(WPARAM wParam, LPARAM lParam);
afx_msg void OnRelativeTitle();
DECLARE_EVENTSINK_MAP()
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};