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