/***********************************************************************/ /* Copyright (C) 2002 Definitive Solutions, Inc. All Rights Reserved. */ /* THIS COMPUTER PROGRAM IS PROPRIETARY AND CONFIDENTIAL TO DEFINITIVE */ /* SOLUTIONS, INC. AND ITS LICENSORS AND CONTAINS TRADE SECRETS OF */ /* DEFINITIVE SOLUTIONS, INC. THAT ARE PROVIDED PURSUANT TO A WRITTEN */ /* AGREEMENT CONTAINING RESTRICTIONS ON USE AND DISCLOSURE. ANY USE, */ /* REPRODUCTION, OR TRANSFER EXCEPT AS PROVIDED IN SUCH AGREEMENT */ /* IS STRICTLY PROHIBITED. */ /***********************************************************************/ ///////////////////////////////////////////////////////////////////////////// // How to add this class to your application. // // Add MyModelessDlg.cpp, MyModelessDlg.h, MyModelessDlgResource.h, // MyModelessDlgResource.avi, and MyModelessDlg.rc2 to your project in the // usual folders. // // Add this line to the top of your RC2 file: // #include "MyModelessDlgResource.h" // MyModelessDlg resources. // // Add this line to the end of your RC2 file: // #include "MyModelessDlg.rc2" // MyModelessDlg resources. // ///////////////////////////////////////////////////////////////////////////// #if !defined(AFX_MYMODELESSDLG_H__2384CA93_4939_11D5_89E1_00B0D0529ED2__INCLUDED_) #define AFX_MYMODELESSDLG_H__2384CA93_4939_11D5_89E1_00B0D0529ED2__INCLUDED_ #pragma once #include "MyModelessDlgResource.h" ///////////////////////////////////////////////////////////////////////////// // MyModelessDlg dialog // Declare the class depending on this file is in an EXE project or a DLL one. class #ifdef _WINDLL AFX_EXT_CLASS #endif MyModelessDlg : public CDialog { // Construction public: MyModelessDlg(CWnd* pParent = NULL); virtual ~MyModelessDlg(); //{{AFX_DATA(MyModelessDlg) enum { IDD = IDD_MYMODELESS }; CAnimateCtrl m_animate; CString m_sMsg; //}}AFX_DATA //{{AFX_VIRTUAL(MyModelessDlg) protected: virtual void DoDataExchange(CDataExchange* pDX); //}}AFX_VIRTUAL // Interface. public: void SetMessage(const CString& sMsg) const; // Implementation. protected: //{{AFX_MSG(MyModelessDlg) virtual BOOL OnInitDialog(); afx_msg void OnButtonModelessCancel(); //}}AFX_MSG DECLARE_MESSAGE_MAP() // Public data. public: bool m_bCanceled; // TRUE if the user has clicked the // "Cancel" button. }; //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_MYMODELESSDLG_H__2384CA93_4939_11D5_89E1_00B0D0529ED2__INCLUDED_)