1*7f2fe78bSCy Schubert //***************************************************************************** 2*7f2fe78bSCy Schubert // File: LeashAboutBox.cpp 3*7f2fe78bSCy Schubert // By: Arthur David Leather 4*7f2fe78bSCy Schubert // Created: 12/02/98 5*7f2fe78bSCy Schubert // Copyright: @1998 Massachusetts Institute of Technology - All rights 6*7f2fe78bSCy Schubert // reserved. 7*7f2fe78bSCy Schubert // Description: H file for LeashAboutBox.cpp. Contains variables and functions 8*7f2fe78bSCy Schubert // for the Leash About Box Dialog Box 9*7f2fe78bSCy Schubert // 10*7f2fe78bSCy Schubert // History: 11*7f2fe78bSCy Schubert // 12*7f2fe78bSCy Schubert // MM/DD/YY Inits Description of Change 13*7f2fe78bSCy Schubert // 12/02/98 ADL Original 14*7f2fe78bSCy Schubert //***************************************************************************** 15*7f2fe78bSCy Schubert 16*7f2fe78bSCy Schubert 17*7f2fe78bSCy Schubert #if !defined(AFX_LEASHABOUTBOX_H__B49E3501_4801_11D2_8F7D_0000861B8A3C__INCLUDED_) 18*7f2fe78bSCy Schubert #define AFX_LEASHABOUTBOX_H__B49E3501_4801_11D2_8F7D_0000861B8A3C__INCLUDED_ 19*7f2fe78bSCy Schubert 20*7f2fe78bSCy Schubert #if _MSC_VER > 1000 21*7f2fe78bSCy Schubert #pragma once 22*7f2fe78bSCy Schubert #endif // _MSC_VER > 1000 23*7f2fe78bSCy Schubert // LeashAboutBox.h : header file 24*7f2fe78bSCy Schubert // 25*7f2fe78bSCy Schubert 26*7f2fe78bSCy Schubert ///////////////////////////////////////////////////////////////////////////// 27*7f2fe78bSCy Schubert // CLeashAboutBox dialog 28*7f2fe78bSCy Schubert 29*7f2fe78bSCy Schubert class CLeashAboutBox : public CDialog 30*7f2fe78bSCy Schubert { 31*7f2fe78bSCy Schubert BOOL m_missingFileError; 32*7f2fe78bSCy Schubert DWORD SetVersionInfo(UINT id_ver, UINT id_copyright); 33*7f2fe78bSCy Schubert BOOL GetModules95(DWORD processID, BOOL allModules = TRUE); 34*7f2fe78bSCy Schubert void GetModulesNT(DWORD processID, BOOL allModules = TRUE); 35*7f2fe78bSCy Schubert void HighlightFirstItem(); 36*7f2fe78bSCy Schubert 37*7f2fe78bSCy Schubert // Construction 38*7f2fe78bSCy Schubert public: 39*7f2fe78bSCy Schubert CLeashAboutBox(CWnd* pParent = NULL); // standard constructor 40*7f2fe78bSCy Schubert 41*7f2fe78bSCy Schubert // Dialog Data 42*7f2fe78bSCy Schubert //{{AFX_DATA(CLeashAboutBox) 43*7f2fe78bSCy Schubert enum { IDD = IDD_LEASH_ABOUTBOX }; 44*7f2fe78bSCy Schubert CButton m_propertiesButton; 45*7f2fe78bSCy Schubert CButton m_radio_LeashDLLs; 46*7f2fe78bSCy Schubert CListBox m_LB_DLLsLoaded; 47*7f2fe78bSCy Schubert CString m_fileItem; 48*7f2fe78bSCy Schubert BOOL m_bListModules; 49*7f2fe78bSCy Schubert //}}AFX_DATA 50*7f2fe78bSCy Schubert 51*7f2fe78bSCy Schubert 52*7f2fe78bSCy Schubert // Overrides 53*7f2fe78bSCy Schubert // ClassWizard generated virtual function overrides 54*7f2fe78bSCy Schubert //{{AFX_VIRTUAL(CLeashAboutBox) 55*7f2fe78bSCy Schubert public: 56*7f2fe78bSCy Schubert virtual BOOL PreTranslateMessage(MSG* pMsg); 57*7f2fe78bSCy Schubert protected: 58*7f2fe78bSCy Schubert virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support 59*7f2fe78bSCy Schubert //}}AFX_VIRTUAL 60*7f2fe78bSCy Schubert 61*7f2fe78bSCy Schubert // Implementation 62*7f2fe78bSCy Schubert protected: 63*7f2fe78bSCy Schubert 64*7f2fe78bSCy Schubert // Generated message map functions 65*7f2fe78bSCy Schubert //{{AFX_MSG(CLeashAboutBox) 66*7f2fe78bSCy Schubert afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); 67*7f2fe78bSCy Schubert virtual BOOL OnInitDialog(); 68*7f2fe78bSCy Schubert afx_msg void OnSelchangeLeashModuleLb(); 69*7f2fe78bSCy Schubert afx_msg void OnAllModules(); 70*7f2fe78bSCy Schubert afx_msg void OnLeashModules(); 71*7f2fe78bSCy Schubert afx_msg void OnDblclkLeashModuleLb(); 72*7f2fe78bSCy Schubert afx_msg void OnProperties(); 73*7f2fe78bSCy Schubert afx_msg void OnSetfocusLeashModuleLb(); 74*7f2fe78bSCy Schubert afx_msg void OnNotLoadedModules(); 75*7f2fe78bSCy Schubert //}}AFX_MSG 76*7f2fe78bSCy Schubert DECLARE_MESSAGE_MAP() 77*7f2fe78bSCy Schubert }; 78*7f2fe78bSCy Schubert 79*7f2fe78bSCy Schubert //{{AFX_INSERT_LOCATION}} 80*7f2fe78bSCy Schubert // Microsoft Visual C++ will insert additional declarations immediately before the previous line. 81*7f2fe78bSCy Schubert 82*7f2fe78bSCy Schubert #endif // !defined(AFX_LEASHABOUTBOX_H__B49E3501_4801_11D2_8F7D_0000861B8A3C__INCLUDED_) 83