/** * @file XTPTaskDialogFrame.h * * @copyright * (c) 1998-2025 Codejock Software, All Rights Reserved. * * This source file is the property of Codejock Software and must not be * redistributed by any means without the explicit written permission of * Codejock Software. * * The use of this source code is governed by the terms and conditions specified * in the Toolkit Pro license agreement. Codejock Software grants you, as a * single software developer, the limited right to use this software on one * computer only. * * Contact Information: * support@codejock.com * http://www.codejock.com * */ /** @cond */ #if !defined(__XTPTASKFRAMEWND_H__) # define __XTPTASKFRAMEWND_H__ /** @endcond */ # if _MSC_VER > 1000 # pragma once # endif // _MSC_VER > 1000 # include "Common/Base/Diagnostic/XTPDisableNoisyWarnings.h" ///////////////////////////////////////////////////////////////////////////// // CXTPTaskDialogFrame window class _XTP_EXT_CLASS CXTPTaskDialogFrame : public CXTPTaskDialogClient { public: CXTPTaskDialogFrame(TASKDIALOGCONFIG* pConfig); virtual ~CXTPTaskDialogFrame(); public: virtual INT_PTR DoModal(); BOOL Create(CWnd* pParentWnd = NULL); # if _MSC_VER > 1200 using CDialog::Create; using CWnd::Create; # endif protected: virtual CString GetFrameTitle() const; virtual DWORD GetFrameStyle() const; protected: /** @cond */ DECLARE_MESSAGE_MAP() /** @endcond */ //{{AFX_VIRTUAL(CXTPTaskDialogFrame) public: virtual BOOL PreTranslateMessage(MSG* pMsg); BOOL OnInitDialog(); //}}AFX_VIRTUAL //{{AFX_MSG(CXTPTaskDialogFrame) afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); afx_msg void OnDestroy(); afx_msg void OnTimer(UINT_PTR nIDEvent); afx_msg LRESULT OnDialogSetElementText(WPARAM wParam, LPARAM lParam); afx_msg LRESULT OnDialogClickButton(WPARAM wParam, LPARAM lParam); afx_msg LRESULT OnDialogClickRadioButton(WPARAM wParam, LPARAM lParam); afx_msg LRESULT OnDialogEnableButton(WPARAM wParam, LPARAM lParam); afx_msg LRESULT OnDialogEnableRadioButton(WPARAM wParam, LPARAM lParam); afx_msg LRESULT OnDialogClickVerificationButton(WPARAM wParam, LPARAM lParam); afx_msg LRESULT OnDialogUpdateIcon(WPARAM wParam, LPARAM lParam); afx_msg LRESULT OnDialogSetButtonElevationState(WPARAM wParam, LPARAM lParam); afx_msg LRESULT OnDialogSetMarqueeProgressBar(WPARAM wParam, LPARAM lParam); afx_msg LRESULT OnDialogSetProgressBarState(WPARAM wParam, LPARAM lParam); afx_msg LRESULT OnDialogSetProgressBarRange(WPARAM wParam, LPARAM lParam); afx_msg LRESULT OnDialogSetProgressBarPos(WPARAM wParam, LPARAM lParam); afx_msg LRESULT OnDialogStartProgressBarMarquee(WPARAM wParam, LPARAM lParam); afx_msg LRESULT OnDialogNavigatePage(WPARAM wParam, LPARAM lParam); //}}AFX_MSG protected: LPDLGTEMPLATE m_lpDlgTemplate; DWORD m_dwTickCount; DWORD m_dwCallbackInterval; private: friend class CXTPTaskCmdLinkButton; }; # include "Common/Base/Diagnostic/XTPEnableNoisyWarnings.h" /** @cond */ #endif // !defined(__XTPTASKFRAMEWND_H__) /** @endcond */