Hi
StringGadget in 6.1 sports (on Windows) system generated edit menu with IME options,
for normal users this is an overkill (unless they understand IME special codes for reversing the direction of inline text or compositing Arabic characters), how can I get rid of the menu or at least IME options?
PB 6.1 Beta4/5 - Weird default IME context menu in String gadgets
Re: PB 6.1 Beta4/5 - Weird default IME context menu in String gadgets
I'm not sure, but combining some of these flags (or only one) should help:
Where Flag one/a combination of:
https://learn.microsoft.com/en-us/windo ... timestatus
Code: Select all
SendMessage_(GadgetID(#MyGadget),#EM_SETIMESTATUS,0,#EMSIS_COMPOSITIONSTRING,Flag)
Code: Select all
#EIMES_GETCOMPSTRATONCE
#EIMES_CANCELCOMPSTRINFOCUS
#EIMES_COMPLETECOMPSTRKILLFOCUS
Good morning, that's a nice tnetennba!
PureBasic 6.21/Windows 11 x64/Ryzen 7900X/32GB RAM/3TB SSD
Synology DS1821+/DX517, 130.9TB+50.8TB+2TB SSD
PureBasic 6.21/Windows 11 x64/Ryzen 7900X/32GB RAM/3TB SSD
Synology DS1821+/DX517, 130.9TB+50.8TB+2TB SSD
Re: PB 6.1 Beta4/5 - Weird default IME context menu in String gadgets
One can intercept WM_CONTEXTMENU,
That is easy, I'm just asking why the change from 6.04
This is not a real issue, just getting IME means that by default PB now supports IME, which kind of breaks backward compatibility.
That is easy, I'm just asking why the change from 6.04
This is not a real issue, just getting IME means that by default PB now supports IME, which kind of breaks backward compatibility.
S.T.V.B.E.E.V.
Re: PB 6.1 Beta4/5 - Weird default IME context menu in String gadgets
Out of curiosity, I just tried with 6.04 and it seems the same (I can see IME menu in context menu). Also Notepad++ is displaying this so it looks like a system wide option. I don't think we changed something related to this in 6.10 but may be the new linker is at work again.
Re: PB 6.1 Beta4/5 - Weird default IME context menu in String gadgets
Thank you Fred
I have an earlier compilation with 6.0x (not sure which though) without the IME, but like said - that is my curiosity.
not a real problem.
let's consider it then a new nice feature for linguists among us, if one does not like it - follow MS and intercept WM_CONTEXTMENU, send Right-Click instead.
I have an earlier compilation with 6.0x (not sure which though) without the IME, but like said - that is my curiosity.
not a real problem.
let's consider it then a new nice feature for linguists among us, if one does not like it - follow MS and intercept WM_CONTEXTMENU, send Right-Click instead.
S.T.V.B.E.E.V.