Watch, Follow, &
Connect with Us
Public Report
Report From: Delphi-BCB/VCL/Core VCL Classes/TWinControl    [ Add a report in this area ]  
Report #:  94701   Status: Closed
When a focus moved to Edit box(ImeMode=imDisable), IME does not become the disabled showing in Windows 7.
Project:  Delphi Build #:  2009, ... XE
Version:    15.1 Submitted By:   akira uemura
Report Type:  Minor failure / Design problem Date Reported:  6/2/2011 6:10:47 PM
Severity:    Commonly encountered problem Last Updated: 3/20/2012 2:24:39 AM
Platform:    All versions Internal Tracking #:   283607
Resolution: Fixed (Resolution Comments) Resolved in Build: : 16.0.4180.40356
Duplicate of:  None
Voting and Rating
Overall Rating: No Ratings Yet
0.00 out of 5
Total Votes: 21
Description
When a focus moved to Edit box(ImeMode=imDisable), IME does not become the disabled showing in Windows 7.

TWinControl use WINNLSEnableIME for a change of IME enable/disable. (Controls.pas Line 14872)
but WINNLSEnableIME is obsolete. See http://msdn.microsoft.com/en-us/library/aa969469(v=vs.85).aspx
Steps to Reproduce:
procedure TForm1.FormCreate(Sender: TObject);
begin
  Edit1.ImeMode := imDontCare;
  Edit2.ImeMode := imDisable;
end;

1.move a focus in Edit1 and turn on IME.
2.move a focus in Edit2.

EXP:
IME becomes the disabled showing in Windows 7.

ACT:
IME does not becomes the disabled showing in Windows 7.
IME becomes the disabled showing in Windows XP.
Workarounds
None
Attachment
None
Comments

Tomohiro Takahashi at 6/3/2011 12:58:59 AM -
> ... in Windows 7.
As you know, Delphi 2009 does NOT officially support Windows 7.
So, does your issue occur on Vista with Delphi 2009?

anyway, I will check this issue with Delphi XE on Windows 7.
Thanks.

akira uemura at 6/3/2011 4:08:00 AM -
This problem occurs in DelphiXE.

Server Response from: ETNACODE01