StephaneLenclud@8: // DisplayTestDlg.h : header file StephaneLenclud@8: // StephaneLenclud@8: StephaneLenclud@8: #pragma once StephaneLenclud@8: StephaneLenclud@8: #define WM_DSP_PLUGIN_NOTIFY WM_APP + 1001 StephaneLenclud@8: StephaneLenclud@8: // CDisplayTestDlg dialog StephaneLenclud@8: class CDisplayTestDlg : public CDialog StephaneLenclud@8: { StephaneLenclud@8: // Construction StephaneLenclud@8: public: StephaneLenclud@8: CDisplayTestDlg(CWnd* pParent = NULL); // standard constructor StephaneLenclud@8: StephaneLenclud@8: // Dialog Data StephaneLenclud@8: enum { IDD = IDD_DISPLAYTEST_DIALOG }; StephaneLenclud@8: CString m_strLine1; StephaneLenclud@8: CString m_strLine2; StephaneLenclud@8: CString m_strLine3; StephaneLenclud@8: StephaneLenclud@8: protected: StephaneLenclud@8: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support StephaneLenclud@8: StephaneLenclud@8: StephaneLenclud@8: // Implementation StephaneLenclud@8: protected: StephaneLenclud@8: HICON m_hIcon; StephaneLenclud@8: StephaneLenclud@8: UINT m_uEqTimer; StephaneLenclud@8: UINT m_uEqTimer2; StephaneLenclud@8: BOOL m_bVfdConnected; StephaneLenclud@8: BOOL m_bLcdConnected; StephaneLenclud@8: StephaneLenclud@8: void Init(); StephaneLenclud@8: void Uninit(); StephaneLenclud@8: void DisplayPluginMessage(UINT uErrCode, BOOL bError); StephaneLenclud@8: void UpdateControlUI(); StephaneLenclud@8: StephaneLenclud@8: // Generated message map functions StephaneLenclud@8: virtual BOOL OnInitDialog(); StephaneLenclud@8: afx_msg void OnSysCommand(UINT nID, LPARAM lParam); StephaneLenclud@8: afx_msg void OnPaint(); StephaneLenclud@8: afx_msg HCURSOR OnQueryDragIcon(); StephaneLenclud@8: afx_msg void OnDestroy(); StephaneLenclud@8: afx_msg void OnTimer(UINT nIDEvent); StephaneLenclud@8: DECLARE_MESSAGE_MAP() StephaneLenclud@8: StephaneLenclud@8: afx_msg void OnBnClickedButtonInit(); StephaneLenclud@8: afx_msg void OnBnClickedButtonVfdSendText(); StephaneLenclud@8: afx_msg void OnBnClickedButtonVfdRandomEq(); StephaneLenclud@8: afx_msg void OnBnClickedButtonLcdSendText(); StephaneLenclud@8: afx_msg void OnBnClickedButtonLcdRandomEq(); StephaneLenclud@8: afx_msg void OnLcdOrangeIcon(); StephaneLenclud@8: afx_msg void OnLcdMediaTypeIcon(); StephaneLenclud@8: afx_msg void OnLcdSpeakerIcon(); StephaneLenclud@8: afx_msg void OnLcdVideoCodecIcon(); StephaneLenclud@8: afx_msg void OnLcdAudioCodecIcon(); StephaneLenclud@8: afx_msg void OnLcdAspectRatioIcon(); StephaneLenclud@8: afx_msg void OnLcdEtcIcon(); StephaneLenclud@8: afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); StephaneLenclud@8: StephaneLenclud@8: afx_msg LRESULT OnDisplayPluginNotify(WPARAM, LPARAM); StephaneLenclud@8: public: StephaneLenclud@8: afx_msg void OnBnClickedScrollChar(); StephaneLenclud@8: afx_msg void OnBnClickedNextChar(); StephaneLenclud@8: afx_msg void OnBnClickedPreviousChar(); StephaneLenclud@8: };