为生存而奔跑

   :: 首页 :: 联系 :: 聚合  :: 管理
  271 Posts :: 0 Stories :: 58 Comments :: 0 Trackbacks

留言簿(5)

我参与的团队

搜索

  •  

积分与排名

  • 积分 - 319826
  • 排名 - 75

最新评论

阅读排行榜

评论排行榜

BOOL CThresholdDlg::OnInitDialog()
{
    CDawnView 
* view=(CDawnView*)m_pParentWnd;
    CDialog::OnInitDialog();
    GetDlgItem(IDC_EDIT1)
->SetWindowTextW(_T("40"));
    
return TRUE;
}
 CDialog::OnInitDialog();一定要写在 GetDlgItem(IDC_EDIT1)->SetWindowTextW(_T("40"));前面
OnInitDialog() 原型 virtual BOOL OnInitDialog()
GetDlgItem(ID)获得指定ID的控件的句柄





posted on 2009-04-28 00:05 baby-fly 阅读(171) 评论(0)  编辑 收藏 引用 所属分类: MFC

只有注册用户登录后才能发表评论。
网站导航: 博客园   IT新闻   BlogJava   知识库   博问   管理