#if !defined(AFX_DLGCOMPASS_H__19FABD35_6A73_4F64_82EF_757ED55667B8__INCLUDED_)
#define AFX_DLGCOMPASS_H__19FABD35_6A73_4F64_82EF_757ED55667B8__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DlgCompass.h : header file
//

#include "Compass.h"
#include "StaticEx.h"

/////////////////////////////////////////////////////////////////////////////
// CDlgCompass dialog

class CDlgCompass : public CDialog
{
// Construction
public:
	CDlgCompass(CWnd* pParent = NULL);   // standard constructor

	void		AddGroupData( NBlueFin7kMessages::PBLUEFINRECORDTYPEHEADER	   pRecHdr,
  							  NBlueFin7kMessages::PBLUEFINNAVIGATIONMESSAGE    pNavFrame );

	DOUBLE		radVal;


// Dialog Data
	//{{AFX_DATA(CDlgCompass)
	enum { IDD = IDD_DLG_HEADING };
	CStatic	m_ctrlRealHeading;
	CStaticEx	m_ctrlYawRate;
	CCompass	m_ctrlCompass;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CDlgCompass)
	public:
	virtual BOOL PreTranslateMessage(MSG* pMsg);
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	virtual LRESULT WindowProc(UINT message, WPARAM wParam, LPARAM lParam);
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CDlgCompass)
	virtual BOOL OnInitDialog();
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnClose();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:

	CSystemConfig*	m_pConfig;

	void SaveSettings();
	void LoadSettings();
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_DLGCOMPASS_H__19FABD35_6A73_4F64_82EF_757ED55667B8__INCLUDED_)
