MFC Example 游子宜. 動態改變標題列 step1 :加入 Edit Control.
22
MFC Example 游游游
-
date post
21-Dec-2015 -
Category
Documents
-
view
237 -
download
0
Transcript of MFC Example 游子宜. 動態改變標題列 step1 :加入 Edit Control.
MFC Example
游子宜
動態改變標題列
step1:加入 Edit Control
step2:加入變數
step3:加入 En_CHANGE 事件
step4:加入程式碼void CDynamicMenuDlg::OnEnChangeEdit1(){
CString a ;
MyString.GetWindowText(a) ;
SetWindowText(a) ;}
step5:執行畫面
MFC example
Method_01:設定 Document的長寬
Method_01:設定 Document的長寬( 續 )
Method_02:設定父框架的縮放大小
Method_02:設定父框架的縮放大小 (續 )
Method_03:隱藏文件標題
Method_03:隱藏文件標題 ( 續 )
Method_04:隱藏最大化最小化按鈕
Method_04:隱藏最大化最小化按鈕 (續 )
Method_05:限制改變視窗大小
Method_05:限制改變視窗大小 ( 續 )
Method_06:預設視窗大小
Method_06:預設視窗大小 ( 續 )
Method_06:預設視窗大小 ( 續 )
Method_07:文件視窗預設最大化