nel_launcherDlg.h
Go to the documentation of this file.00001
00002
00003
00004 #include "webbrowser2.h"
00005
00006
00007 #if !defined(AFX_NEL_LAUNCHERDLG_H__A68D28F3_A36F_4D34_99D9_716C870E9099__INCLUDED_)
00008 #define AFX_NEL_LAUNCHERDLG_H__A68D28F3_A36F_4D34_99D9_716C870E9099__INCLUDED_
00009
00010 #if _MSC_VER > 1000
00011 #pragma once
00012 #endif // _MSC_VER > 1000
00013
00015
00016
00017 class CNel_launcherDlg : public CDialog
00018 {
00019
00020 public:
00021 CNel_launcherDlg(CWnd* pParent = NULL);
00022
00023 CWebBrowser2 m_explore;
00024
00025
00026
00027 enum { IDD = IDD_NEL_LAUNCHER_DIALOG };
00028
00029
00030
00031
00032 protected:
00033 virtual void DoDataExchange(CDataExchange* pDX);
00034
00035
00036 void launch (const std::string &str);
00037 void patch (const std::string &str);
00038 void openUrl (const std::string &url);
00039
00040
00041 protected:
00042 HICON m_hIcon;
00043
00044
00045
00046 virtual BOOL OnInitDialog();
00047 afx_msg void OnPaint();
00048 afx_msg HCURSOR OnQueryDragIcon();
00049 afx_msg void OnBeforeNavigate2Explorer1(LPDISPATCH pDisp, VARIANT FAR* URL, VARIANT FAR* Flags, VARIANT FAR* TargetFrameName, VARIANT FAR* PostData, VARIANT FAR* Headers, BOOL FAR* Cancel);
00050 afx_msg void OnSize(UINT nType, int cx, int cy);
00051 afx_msg void OnTimer(UINT nIDEvent);
00052 afx_msg void OnDocumentCompleteExplorer1(LPDISPATCH pDisp, VARIANT FAR* URL);
00053 DECLARE_EVENTSINK_MAP()
00054
00055 DECLARE_MESSAGE_MAP()
00056 };
00057
00058
00059
00060
00061 #endif // !defined(AFX_NEL_LAUNCHERDLG_H__A68D28F3_A36F_4D34_99D9_716C870E9099__INCLUDED_)