#pragma once

#include "BtnST.h"
#include "WinXPButtonST.h"
#include "ResourceServerST.h"
#include "Icons.h"

#ifdef	BTNST_USE_BCMENU
#include "BCMenu.h"
#endif

class CDlgAdvanced : public CDialog
{
public:
	CDlgAdvanced(CWnd* pParent, CResourceServerST*	m_pIcons);

	//{{AFX_DATA(CDlgAdvanced)
	enum { IDD = IDD_ADVANCED };
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CDlgAdvanced)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);
	//}}AFX_VIRTUAL

protected:

	// Generated message map functions
	//{{AFX_MSG(CDlgAdvanced)
	virtual BOOL OnInitDialog();
	afx_msg void OnItem1();
	afx_msg void OnItem2();
	afx_msg void OnBtnAutofire();
	//}}AFX_MSG

private:
	LRESULT On_MenuCallback(WPARAM wParam, LPARAM lParam);

	void OnCancel();
	void OnOK();

	CResourceServerST*	m_pIconsDLL;

	CWinXPButtonST	m_btnDerived;
	CButtonST		m_btnHyperLink;
	CButtonST		m_btnCursor;
	CButtonST		m_btnFocusRect;
	CButtonST		m_chkCheckbox;
	CButtonST		m_btnBitmap;
	CButtonST		m_btnAutofire;
	CButtonST		m_rdRadio1;
	CButtonST		m_rdRadio2;
	CButtonST		m_rdRadio3;

	BOOL			m_bTestCheck;	// A variable used to show DDX_Check feature

	DWORD			m_dwCount;		// Counter for autofire button

	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
