FIX: ???? ??????? ImeMode ????? ???????? ??? ?????? Off ?? .NET Framework 2.0

?????? ????????? ?????? ?????????
???? ???????: 939783 - ??? ???????? ???? ????? ????? ??? ???????.
????? ???? | ?? ????

?? ??? ??????

???????

???? ??? ????????? ??????. ????? ??? ??????? ???? ????? ??? Microsoft .NET Framework 2.0 ??? ??? ????? ???? Microsoft Windows ?????. ????? ????? ??????? ImeMode ????? ?????? ??? ???? ????? ??? ???? NoControl. ???? ??????? ??? ???? ??????. ??? ???? ????? ????? ???? ???????? ???????:
  • ??? ??????? ??? ???? ???. ?? ???? ???? ??????? ??? ???? ??? ???? ??????.
  • ????? ?????? ???? ????? ??? ???? ??????. ?? ????? ??????? ??????.
?? ??? ?????????? ????? ???? ??????? ImeMode ???????? ??? ?????? ??????.

????

??????? ??????? ??????

????? ???? ????? ???? ????? ?? Microsoft. ???? ????? ??? ?? ?? ??????? ??????? ?? ??? ??????? ???. ???? ??? ???????? ??? ?? ??????? ???? ????? ??? ??????? ????????. ?? ??? ????? ???????? ?????? ??? ??? ??????? ??????. ?????? ??? ?? ??? ????? ??? ??????? ??????? ???? ????????? ??? ??????? ?????? ?? ???? ???? .NET Framework 2.0 ????? ????? ??? ??? ??????? ??????.

??? ??? ??????? ?????? ???? ?????? ??? ??????? ?? Microsoft "?????? ??? ??????? ??????. ?????? ??? ????? ????? ?????? ?????? ?????? ?????? ??? ??????? ?? Microsoft ???? ??????? ??? ?????? ?????? ?? ?????? ???? Microsoft ?????? ??? ?????:
http://support.microsoft.com/contactus/?ws=support
?????? ?? ??? ???????? ?? ??? ????? ????????? ???? ?????? ????? ??? ??????? ????? ??? ??? ?????? ????? ??? Microsoft ?? ??????? ?????? ??? ???? ??? ?? ???????. ???? ????? ?????? ????? ???????? ??? ????? ????? ???????? ????????? ???? ?? ???? ??? ???? ??? ???????.

????????? ????????

??? ?? ???? ???? .NET Framework 2.0 ????? ????? ??? ??????? ??????.

????? ????? ?????

??? ???? ??? ????? ????? ???? ????????? ??? ????? ??? ??????? ??????.

??????? ??????? ??????? ??????

?? ??? ??? ??????? ?????? ??? ??? ??????? ????? ????.

??????? ?????

????? ????? ????? ?????????? ?? ??? ??????? ?????? ???? ????? (?? ???? ????) ??????? ?? ?????? ??????. ??? ??? ???????? ???????? ?????? ???? ??????? ?? "??? ??????? ???????" (UTC). ????? ???? ???? ??????? ?????? ??? ??????? ??? ??????? ??????. ?????? ????? ??? ??????? ??????? (UTC) ???????? ??????? ?????? ????? ??????? ??????? ??????? ?? ???? ??????? ?????? ?? "???? ??????".
?? ??? ??????????? ??? ??????
??? ?????????? ???????? ???????????????
System.Windows.Forms.dll2.0.50727.8995,152,76830 ????? ??????: ??

???? ??????

??????? ?????? ??? ??? ??????? ?? ?????? ????????? ???????? ???????.
public partial class Form1 : Form
{
    private Control focusedControl;

    private ImeMode propIme;

    public Form1()
    {
        InitializeComponent();

        this.Activated += new EventHandler(Form1_Activated);
        this.Deactivate += new EventHandler(Form1_Deactivate);
    }

    private void Form1_Activated(object sender, EventArgs e)
    {
        if (focusedControl != null)
        {
            focusedControl.ImeMode = propIme;
        }
    }

    private void Form1_Deactivate(object sender, EventArgs e)
    {
        Save_ImeMode();
    }

    private void Save_ImeMode()
    {
        Control tmpFocusedControl = null;
        foreach (Control c in Controls)
        {
            if (c.Focused)
            {
                if (c is TextBox)
                {
                    tmpFocusedControl = c as TextBox;
                    break;
                }
            }
            if (c.HasChildren)
            {
                foreach (Control c2 in c.Controls)
                {
                    if (c2.Focused && c2 is TextBox)
                    {
                        tmpFocusedControl = c2 as TextBox;
                        break;
                    }
                }
            }
        }
        if (tmpFocusedControl != null)
        {
            focusedControl = tmpFocusedControl;
            propIme = focusedControl.ImeMode;
        }
    }

    protected override void WndProc(ref Message m)
    {
        if (m.Msg == WM_SYSCOMMAND)
        {
            if (m.WParam.ToInt32() == SC_MINIMIZE)
            {
                Save_ImeMode();
            }
        }
        base.WndProc(ref m);
    }

    const int SC_MINIMIZE = 0xF020;
    const int WM_SYSCOMMAND = 0x0112;
}

?????

???? Microsoft ?? ??? ????? ?? ?????? Microsoft ??????? ?? ??? "????? ???".

??????? ????

????? ?? ????????? ??? ??????? ????? ??????? "? ???? ??? ??? ??????? ?????? ?????? ??" ????? ??????? ?? Microsoft:
824684??? ????????? ???????? ????????? ?? ??? ??????? ????? Microsoft

???????

???? ???????: 939783 - ????? ??? ??????: 09/???/1428 - ??????: 1.2
????? ???
  • Microsoft .NET Framework 2.0
????? ??????: 
kbmt kbvistasp1fix kbexpertiseadvanced kbfix kbpubtypekc kbqfe kbhotfixserver KB939783 KbMtar
????? ????
???: ??? ????? ??? ?????? ???????? ?????? ????? ???? ????? ?????????? ????? ?? ????????? ?????? ????. ???? ???? ?????????? ???? ?? ???????? ???????? ?????? ????????? ????? ????????? ???????? ????? ???????? ?????? ?? ?????? ??? ?? ???????? ???????? ?? ????? ??????? ?????? ??? ??????? ?????? ??. ?????? ?? ???? ??? ??????? ???????? ????? ?? ???? ????? ?????? ??? ????? ??? ????? ??????? ?? ????? ?? ?????? ??? ??? ??????? ??????? ?? ????? ????? ????? ????? ?????. ?? ????? ???? ?????????? ??????? ??? ????? ?? ??????? ?? ????? ?????? ?? ??? ????? ?? ????? ??????? ?? ???????? ?? ??? ???????. ???? ???? ?????????? ???????? ??? ????? ?????? ??????? ??????
???? ??? ????? ??????? ?????? ??????????939783

????? ???????

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com