MFC设置对话框的焦点

方法有二: app 1. 设置对话框控件的tab order。 按Ctrl+D便可看见。将须要被设置到焦点的空间的tab order设为1.spa 2. 对话框的OnInitDialog返回FALSE。解释以下:(摘抄至msdn)ci   If OnInitDialog returns nonzero, Windows sets the input focus to the first contr
相关文章
相关标签/搜索