我想做一个软件的登陆界面,上面有网页代码是
在InitInstance里有对话框的调用
DialogBox(hInst, (LPCTSTR)IDD_LOGIN, hWnd, (DLGPROC)Login);在LOGIN对话框中的操作是:
Insert ActiveX Contrl
Microsofe Web 浏览器但是只要插入了浏览器,对话框就不显示了,没有登陆的过程如果把浏览器去掉,对话框就能弹出,为什么呢...除了这样,还有什么别的手段插入浏览器么
在InitInstance里有对话框的调用
DialogBox(hInst, (LPCTSTR)IDD_LOGIN, hWnd, (DLGPROC)Login);在LOGIN对话框中的操作是:
Insert ActiveX Contrl
Microsofe Web 浏览器但是只要插入了浏览器,对话框就不显示了,没有登陆的过程如果把浏览器去掉,对话框就能弹出,为什么呢...除了这样,还有什么别的手段插入浏览器么
BOOL CXXXApp::InitInstance()
{
// InitCommonControlsEx() is required on Windows XP if an application
// manifest specifies use of ComCtl32.dll version 6 or later to enable
// visual styles. Otherwise, any window creation will fail.
INITCOMMONCONTROLSEX InitCtrls;
InitCtrls.dwSize = sizeof(InitCtrls);
// Set this to include all the common control classes you want to use
// in your application.
InitCtrls.dwICC = ICC_WIN95_CLASSES;
InitCommonControlsEx(&InitCtrls); CWinApp::InitInstance(); AfxEnableControlContainer();
1)新加一个工程,选ActiveX控件支持,
2)新加一个工程,不选选ActiveX控件支持,两个工程同名,然后比较两个工程代码有啥不同