1.隐藏: GetDlgItem(ID)->ShowWindow(SW_HIDE);
2.显示: GetDlgItem(ID)->ShowWindow(SW_SHOW);
3.可用: GetDlgItem(ID)->EnableWindow(TRUE);
4.不可用: GetDlgItem(ID)->EnableWindow(FALSE);
5.控件的标题: GetDlgItem(IDC_BUTTON1)-> SetWindowText("名称");
2.显示:
3.可用:
4.不可用:
5.控件的标题:
![](https://i-blog.csdnimg.cn/blog_migrate/d86522e41a1c53b89e1ee8cb29d370e3.gif)