Windows应用程序的拼写检查
我已经使用COM Interop在C#的Windows应用程序中使用Word检查拼写.我在MSDN帖子此处中找到了这种编码. />
它工作正常.但是,一旦拼写检查完成,我需要向应用程序用户显示其拼写检查的结果.
在弹出的拼写检查窗口中,如果用户单击取消"按钮,有没有办法我们可以给用户适当的答案?
就像用户单击全部更改"按钮一样,我们可以关闭弹出的拼写检查窗口,并在拼写检查完成"时显示一条消息.如果用户在弹出的拼写检查窗口中单击取消"按钮,则由于拼写检查已取消",我们可以抛出一条消息.
谢谢
I''ve used COM Interop to Check Spelling Using Word in my Windows application in C#. I found this coding in the MSDN post here.
It works fine. But I need to show the application user the result of their spell check once spell checking is completed.
In the popup spell check window, if the user click Cancel button is there a way we can give appropriate answer back to user?
Like if user click ''Changed All'' button we can close the popup spell check window and throw a message as ''spell check is completed''. And if user click ''Cancel'' Button in the popup spell check window we can throw a message as ''spell check is canceled.''
Thanks
也许originalFormat
包含旧词.