// DialogSampleDlg.h // // (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_DIALOGSAMPLEDLG_H__536F71DA_63FA_4B9D_ACEB_5B10E5914028__INCLUDED_) # define AFX_DIALOGSAMPLEDLG_H__536F71DA_63FA_4B9D_ACEB_5B10E5914028__INCLUDED_ # if _MSC_VER > 1000 # pragma once # endif // _MSC_VER > 1000 ///////////////////////////////////////////////////////////////////////////// // CDialogSampleDlg dialog # ifdef _XTP_INCLUDE_CONTROLS # define CDialogSampleDlgBase CXTPDialogBase # else # define CDialogSampleDlgBase CXTPDialog # endif class CDialogSampleDlg : public CDialogSampleDlgBase { // Construction public: CDialogSampleDlg(CWnd* pParent = NULL); // standard constructor // Dialog Data //{{AFX_DATA(CDialogSampleDlg) enum { IDD = IDD_DIALOGSAMPLE_DLG }; // NOTE: the ClassWizard will add data members here //}}AFX_DATA // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CDialogSampleDlg) /* public: virtual BOOL PreTranslateMessage(MSG* pMsg);*/ protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support //}}AFX_VIRTUAL // Implementation public: XTPThemeDlg m_Theme; void RefreshMetrics(); protected: // HICON m_hIcon; CBrush m_brush; COLORREF m_clrText; CXTPStatusBar m_wndStatusBar; void RepositionControls(); CRect m_rcBorders; BOOL m_bInRepositionControls, m_bInitDone; XTPPaintTheme m_eTheme; // Generated message map functions //{{AFX_MSG(CDialogSampleDlg) virtual BOOL OnInitDialog(); afx_msg void OnSize(UINT nType, int cx, int cy); afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); void OnEmptyCommandRange(UINT); //}}AFX_MSG DECLARE_MESSAGE_MAP() }; //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_DIALOGSAMPLEDLG_H__536F71DA_63FA_4B9D_ACEB_5B10E5914028__INCLUDED_)