this->GetDlgItem(IDC_STATIC1)->SetWindowText(“11111”);
来源:学生作业帮助网 编辑:作业帮 时间:2024/06/20 14:01:50
![this->GetDlgItem(IDC_STATIC1)->SetWindowText(“11111”);](/uploads/image/z/9313782-6-2.jpg?t=this-%3EGetDlgItem%28IDC_STATIC1%29-%3ESetWindowText%28%E2%80%9C11111%E2%80%9D%29%3B)
this->GetDlgItem(IDC_STATIC1)->SetWindowText(“11111”);
this->GetDlgItem(IDC_STATIC1)->SetWindowText(“11111”);
this->GetDlgItem(IDC_STATIC1)->SetWindowText(“11111”);
在本窗口(this)下,得到静态文本框1(IDC_STATIC1)的指针,然后向这个IDC_STATIC1发送11111并显示.调用指针的方法用“->”.