我试图用找PROCESS的方法但是没实现,已知IE的程序名就是iexplorer.exe
解决方案 »
- 马上结贴 CTreeCtrl InsertItem如果反向插入
- 弱弱的问一个问题:在Html中插入ActiveX,关闭浏览器时会提出内存出错
- 如何实现让IE只允许上指定的URL,如上了非指定的URL,则关闭或强行让它上指定的URL。谢谢!!!!
- 那里有vc++6.0 英文版或繁體中文版下載?
- 如何取得datagrid中的行数?
- 请教【连锁店】的【经营模式和管理模式】
- 想从cobject继承,class wizard选项中没有,为什么这样设计?
- 哪位大大有hough变换的源程序,最好是mfc的,帮忙发一个给我
- 用sql server 7.0在局域网上建立c/s型数据库,请问 服务器和 客户端该如何配置?
- 编译错误,高手请进!
- 急!VC下如何使用我用VB编写的ActiveXDLl!!
- 简单问题。人手的图标在哪个目录下?
// after the application window is created and enables them
// when the application window is destroyed.
BOOL CALLBACK EnumWindowsProc(HWND hwnd, LPARAM lParam)
{ //根据 hwnd取得Class名字IEFrame
return TRUE;
} EnumWindows(EnumWindowsProc , 0);} 或者FindWindow查Class名字为IEFrame的窗口
CWnd *pWndPrev;
// Determine if another window with your class name exists...
if (pWndPrev = CWnd::FindWindow(_T("IEFrame"),NULL))
{
// Bring previous instance to the foreground
//找到IE
pWndPrev->SetForegroundWindow();
return FALSE;
}
HOWTO: Connect to a Running Instance of Internet Explorer