1 // nel_launcherDlg.h : header file
4 #include "webbrowser2.h"
7 #if !defined(AFX_NEL_LAUNCHERDLG_H__A68D28F3_A36F_4D34_99D9_716C870E9099__INCLUDED_)
8 #define AFX_NEL_LAUNCHERDLG_H__A68D28F3_A36F_4D34_99D9_716C870E9099__INCLUDED_
12 #endif // _MSC_VER > 1000
14 /////////////////////////////////////////////////////////////////////////////
15 // CNel_launcherDlg dialog
17 class CNel_launcherDlg
: public CDialog
21 CNel_launcherDlg(CWnd
* pParent
= NULL
); // standard constructor
23 CWebBrowser2 m_explore
;
26 //{{AFX_DATA(CNel_launcherDlg)
27 enum { IDD
= IDD_NEL_LAUNCHER_DIALOG
};
30 // ClassWizard generated virtual function overrides
31 //{{AFX_VIRTUAL(CNel_launcherDlg)
33 virtual void DoDataExchange(CDataExchange
* pDX
); // DDX/DDV support
36 void launch (const std::string
&str
);
37 void patch (const std::string
&str
);
38 void openUrl (const std::string
&url
);
44 // Generated message map functions
45 //{{AFX_MSG(CNel_launcherDlg)
46 virtual BOOL
OnInitDialog();
47 afx_msg
void OnPaint();
48 afx_msg HCURSOR
OnQueryDragIcon();
49 afx_msg
void OnBeforeNavigate2Explorer1(LPDISPATCH pDisp
, VARIANT FAR
* URL
, VARIANT FAR
* Flags
, VARIANT FAR
* TargetFrameName
, VARIANT FAR
* PostData
, VARIANT FAR
* Headers
, BOOL FAR
* Cancel
);
50 afx_msg
void OnSize(UINT nType
, int cx
, int cy
);
51 afx_msg
void OnTimer(UINT nIDEvent
);
52 afx_msg
void OnDocumentCompleteExplorer1(LPDISPATCH pDisp
, VARIANT FAR
* URL
);
53 DECLARE_EVENTSINK_MAP()
58 //{{AFX_INSERT_LOCATION}}
59 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
61 #endif // !defined(AFX_NEL_LAUNCHERDLG_H__A68D28F3_A36F_4D34_99D9_716C870E9099__INCLUDED_)