c# 文本编辑器,查找替换能不能调用系统的那个查找
来源:百度知道 编辑:UC知道 时间:2024/06/06 14:07:32
出来的那个
我问是怎么调用呀,具体一点,
好像那个有个API函数对应的,应该可以
-----------------------------------------
楼主下次自己查了,呵呵
API的名字叫做
HWND FindText(
LPFINDREPLACE lpfr
);
详细解释见http://msdn.microsoft.com/en-us/library/ms646918(VS.85).aspx
FindText Function
Creates a system-defined modeless Find dialog box that lets the user specify a string to search for and options to use when searching for text in a document.
Syntax
HWND FindText( LPFINDREPLACE lpfr
);Parameters
lpfr
[in] Pointer to a FINDREPLACE structure that contains information used to initialize the dialog box. The dialog box uses this structure to send information about the user's input to your application. For more information, see the following Remarks section.
Return Value
If the function succeeds, the return value is the window h