[8] Review request for 7194469 Pressing the Enter key results in an alert tone beep when focus is TextField (original) (raw)
Denis S. Fokin denis.fokin at oracle.com
Thu Sep 6 02:25:43 PDT 2012
- Previous message: [8] Review request for 7194469 Pressing the Enter key results in an alert tone beep when focus is TextField
- Next message: [8] Review request for 7194469 Pressing the Enter key results in an alert tone beep when focus is TextField
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi Alexander,
should not we use SPIF_SENDCHANGE instead of SPIF_UPDATEINIFILE? It is possible that the user does not want to disable beep in his profile. On the other hand, I do not see any issues with SPIF_SENDCHANGE.
Thank you, Denis.
On 9/5/2012 5:24 PM, Alexander Scherbatiy wrote:
bug: http://bugs.sun.com/bugdatabase/viewbug.do?bugid=7194469 webrev: http://cr.openjdk.java.net/~alexsch/7194469/webrev.00/ The TextField control starts beeping on some keys pressing (enter, up, down...) after switching the EDIT control to RICHEDIT. It seems that there are no flags that can disable this beeping for the RICHEDIT. At least SESALLOWBEEPS flag from EMGETEDITSTYLE is set to zero by default but beeping is present. The fix disables the beeper (in case if it was enabled) before the necessary keys processing in the AWT TextField and enable it after that. Thanks, Alexandr.
- Previous message: [8] Review request for 7194469 Pressing the Enter key results in an alert tone beep when focus is TextField
- Next message: [8] Review request for 7194469 Pressing the Enter key results in an alert tone beep when focus is TextField
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]