例子:将粘贴变灰GetDlgItem(ID_PASTE)->EnableWindow(FALSE); 转载于:https://www.cnblogs.com/eric_lgf/archive/2009/08/04/1538217.html