Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
40
Issue with starting to edit cell with AutoEditMode and some Unicode characters
posted

Hi

We use an UltraGrid (.NET Framework 4.8) with these two settings configured:

.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.CellSelect;
.Override.AutoEditMode = Infragistics.Win.DefaultableBoolean.True;

We have the issue that if a cell is selected (not in edit mode) and the user starts typing the EURO sign (€) the cell does not display the € sign but a different character. Once in edit mode the € sign can be entered without any issue.

We tracked down the issue and it seems to be caused by a missing "Charset = Unicode" at the DllImport attribute for the SendMessage method of the user32.dll. If I implement my own Editor and override the ProcessForwardedKeyMessage method using a DllImport with the Charset configured to Unicode it seems to work. We can also see the changed key code of the WM_CHAR event using Microsoft Spy++.

Is there any other workaround or configuration that I'm missing where I can fix that behavior without having to exchange all used Editor implementations? Maybe some global Charset configuration for the Infragistics components that I'm missing?

Thanks for the help.

Regards,

Karsten

Parents
No Data
Reply Children
No Data