????? ????? ?????? ?????? MFC ??? ???????

?????? ????????? ?????? ?????????
???? ???????: 122489 - ??? ???????? ???? ????? ????? ??? ???????.
????? ???? | ?? ????

??????

????? ?????? ?????? Windows ??????? ???? ????????? (pushbutton) ????? ???????? ??? ????? ??? ??????? ENTER ????? ?? ???? ??????? ??? ?? ???. ???????? ??? ????? ????? MFC ?? ??????? ???? ??????? CDialog::OnOK() ?????? ??? ???? ???? ????? ??? ????? ???? ????????? (pushbutton) ?? ???? ??? ??????? ENTER.

?????? ?? ??? ?????? ??? ??????? ????? ?? ?????? "????? Windows: ???? ????? ?????." ??? ????? ?? ????? SDK ??????? 3.1 Windows ??? ??????. ??? ????? ????? ?? Microsoft Press.

??????? ????

??? ????? ?? ??? ???? (pushbutton) ?????????? ??????? ?? ????? ??? ????? ?? ????? ????? ???????? ?? ??? ???????. ????? ?????? ???? ?? ????? MFC ?????? ??????? ???????:

  1. ????? ???? ?????? ??? Studio ??????? ??? ?????? ???? ???? ????? ?? IDOK ??? ?? ??? ??? IDC_MYOK. ?????? ?? ?????? ????? ?????? ?? ????? "?? ???????".
  2. ??????? ClassWizard ?????? ????? ?????? ?????? ???? ???? ?????? OnClickedMyOK. ????? ??? ??????? ??? ???? ????? BN_CLICKED ?? ??? ????.
  3. ?? ???????? ???????? ?????? OnClickedMyOK ??????? ?????? OnOK ????? ????? ????????. ????? ??? ????:
       void CMyDialog::OnClickedMyOK()
       {
          CDialog::OnOK();
       }
    						
  4. ????? OnOK ????? ???? ????? ?? ?? ?? ??? ??? ?? ???? ??????. ????? ??? ????:
       void CMyDialog::OnOK()
       {
       }
    						
  5. ????? ???????? ?? ????? ???? ????. ????? ??????? ??? ???? ???? ??? ??? ???? "?????". ???? ??? ??????? RETURN. ???? ??? ????? CDialog::OnOK().
????? ??? ??????? ??? ???? (pushbutton) ?????????? ???????? ?? ?????? MFC ???? ????. ???? ?????? ???? "?????" ?????? ??? ??? ??? ????? ?????? ?????? ?? ?? ???? ??? ?????? mnemonic ???? ???? ?? ?????? ?????? OnOK ??? ??????? ENTER.

???? ??????? ??? ??????? ?????? ?? ????? ?????? OnCancel ?????????. ?????? ????? ?????? ??????? CDialog::OnCancel ?????? ??? ??????? ???? OnOK ?????? ????? ???????.

???????

???? ???????: 122489 - ????? ??? ??????: 30/????/1427 - ??????: 3.1
????? ???
  • Microsoft Foundation Class Library 4.2, ????? ?????? ??:
    • Microsoft Visual C++ 1.0 Professional Edition
    • Microsoft Visual C++ 1.5 Professional Edition
    • Microsoft Visual C++ 1.0 Professional Edition
    • Microsoft Visual C++ 2.0 Professional Edition
    • Microsoft Visual C++ 4.0 Standard Edition
????? ??????: 
kbmt KB122489 KbMtar
????? ????
???: ??? ????? ??? ?????? ???????? ?????? ????? ???? ????? ?????????? ????? ?? ????????? ?????? ????. ???? ???? ?????????? ???? ?? ???????? ???????? ?????? ????????? ????? ????????? ???????? ????? ???????? ?????? ?? ?????? ??? ?? ???????? ???????? ?? ????? ??????? ?????? ??? ??????? ?????? ??. ?????? ?? ???? ??? ??????? ???????? ????? ?? ???? ????? ?????? ??? ????? ??? ????? ??????? ?? ????? ?? ?????? ??? ??? ??????? ??????? ?? ????? ????? ????? ????? ?????. ?? ????? ???? ?????????? ??????? ??? ????? ?? ??????? ?? ????? ?????? ?? ??? ????? ?? ????? ??????? ?? ???????? ?? ??? ???????. ???? ???? ?????????? ???????? ??? ????? ?????? ??????? ??????
???? ??? ????? ??????? ?????? ??????????122489
????? ??????? ?? ????? ???? ?? ????? ???????
?? ????? ????? ?????? ???? ???? ???? ??? ??????? ??? ?? ? ?? ??? ??????? Microsoft ??? ????? ??? ??????? ????? ?????? ?????

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

 

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