// and were discussed more than once in this thread's history //
... .. .
Well, coming to the Bind-Call (e.g.
"--accept-lang=en-US,en,fr" wherein I have included 'fr' also to be considered for spellchecking), I wish to know the following:
1. For the spellchecker/word-suggestions to function (for any included language), does MS always send the words typed to its servers, to get the required results? Or, is it always done locally after downloading the required language dictionaries once (perhaps updated occasionally too) to user's system?
How "exactly" is this spell-checker/word-suggestions functionality effected by MS in WebView2? Will be helpful to share this info with users if such info is "concretely" known.
2. Is it possible to access the word suggestions programmatically and show it in my own separate list?. For instance, when I typed "SpellChecker", the spellchecker engine identifies it as misspelt and when I right click on it, the resultant context menu is as in the picture below.
Is it possible for me to programmatically access these three word suggestions (Spellchecker, Spellcheckers, Spell-checker) and show them alone in my own list on right-clicking (OR any other way, so that the default right-click menu gets displayed as usual)?
https://www.vbforums.com/image/png;b...AASUVORK5CYII=
Attachment 187181
3. I noticed that if I use more than one reference (say WV and WV2) to cWebView2 in my program, then while binding, I needed to "exactly" give the same "--accept-lang" argument in both Bindings. i.e. it had to be as follows:
--
If WV.BindTo(picWV.hWnd, TIME_TO_WAIT_m, , , "--accept-lang=en-US,en,fr") = 0
If WV2.BindTo(picWV2.hWnd, TIME_TO_WAIT_m, , , "--accept-lang=en-US,en,fr") = 0
--
Otherwise, the 2nd binding won't happen. I have no problems keeping the same argument in both bind calls, but I feel that perhaps I am doing a mistake and
there possibly is a way by which I can pass different "--accept-lang" argument in each of the WV bind calls. May be the correct argument is different from "--accept-lang" itself for SpellChecker?
... .. .
Kind Regards.