专业的搜索引擎技术提供商(磐志搜索),访问www.panzhi.net了解详细介绍。第一,提高搜索速度,0.005秒;
第二、提高搜索准确性,专业的中文分词;  
第三,智能分析关键词,纠错,相关词提取等;  
第四、方法搜索 关键词的关系(与 或 非)等;

解决方案 »

  1.   

    [DllImport("user32.dll", EntryPoint = "FindWindow")] //找进程句柄
            internal static extern IntPtr FindWindow(string lpClassName, string lpWindowName);
            
            [DllImport("user32.dll", EntryPoint = "FindWindowEx")] //找子窗体
            private static extern IntPtr FindWindowEx(IntPtr hwndParent, IntPtr hwndChildAfter, string lpszClass, string lpszWindow);        [DllImport("user32.dll", EntryPoint = "EnumChildWindows")] //枚举得到子窗体
            internal static extern bool EnumChildWindows(IntPtr hWndParent, EnumChildWindowsProc lpEnumFunc, int lParam);        [DllImport("user32.dll", EntryPoint = "GetClassName")] //得到类名
            public static extern int GetClassName(IntPtr hwnd, StringBuilder lpClassName, int nMaxCount);        [DllImport("user32.dll", EntryPoint = "GetWindowText")] //得到窗体的值
            public static extern void GetWindowText(IntPtr hWnd, StringBuilder tCaption, int nMaxCount);