// ActionSampleView.h : interface of the CActionSampleView class // // (c)1998-2025 Codejock Software, All Rights Reserved. // // THIS SOURCE FILE IS THE PROPERTY OF CODEJOCK SOFTWARE AND IS NOT TO BE // RE-DISTRIBUTED BY ANY MEANS WHATSOEVER WITHOUT THE EXPRESSED WRITTEN // CONSENT OF CODEJOCK SOFTWARE. // // THIS SOURCE CODE CAN ONLY BE USED UNDER THE TERMS AND CONDITIONS OUTLINED // IN THE XTREME TOOLKIT PRO LICENSE AGREEMENT. CODEJOCK SOFTWARE GRANTS TO // YOU (ONE SOFTWARE DEVELOPER) THE LIMITED RIGHT TO USE THIS SOFTWARE ON A // SINGLE COMPUTER. // // CONTACT INFORMATION: // support@codejock.com // http://www.codejock.com // ///////////////////////////////////////////////////////////////////////////// #if !defined(AFX_ACTIONSAMPLEVIEW_H__2740B322_4A93_4A9E_8A14_9ACFF9E28ADC__INCLUDED_) # define AFX_ACTIONSAMPLEVIEW_H__2740B322_4A93_4A9E_8A14_9ACFF9E28ADC__INCLUDED_ # if _MSC_VER > 1000 # pragma once # endif // _MSC_VER > 1000 class CActionSampleView : public CFormView { protected: CActionSampleView(); // protected constructor used by dynamic creation DECLARE_DYNCREATE(CActionSampleView) // Form Data public: //{{AFX_DATA(CActionSampleView) enum { IDD = IDD_ACTIONS_FORM }; CComboBox m_lstActions; BOOL m_bChecked; BOOL m_bEnabled; BOOL m_bVisible; CString m_strCaption; CString m_strDescription; CString m_strTooltip; // NOTE: the ClassWizard will add data members here //}}AFX_DATA // Attributes public: // Operations public: void FillActionsCombos(); // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CActionSampleView) public: virtual void OnInitialUpdate(); CBrush m_brush; COLORREF m_clrText; void RefreshMetrics(int m_Theme); protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support //}}AFX_VIRTUAL // Implementation protected: virtual ~CActionSampleView(); # ifdef _DEBUG virtual void AssertValid() const; virtual void Dump(CDumpContext& dc) const; # endif CXTPControlActions* m_pActions; // Generated message map functions //{{AFX_MSG(CActionSampleView) // NOTE - the ClassWizard will add and remove member functions here. afx_msg void OnComboActionsSelChanged(); afx_msg void OnCheckVisible(); afx_msg void OnCheckEnabled(); afx_msg void OnCheckChecked(); afx_msg void OnChangeEditCaption(); afx_msg void OnChangeEditTooltip(); afx_msg void OnChangeEditDescription(); afx_msg void OnButtonLoad(); afx_msg void OnButtonSave(); afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); //}}AFX_MSG DECLARE_MESSAGE_MAP() }; ///////////////////////////////////////////////////////////////////////////// //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_ACTIONSAMPLEVIEW_H__2740B322_4A93_4A9E_8A14_9ACFF9E28ADC__INCLUDED_)