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.

Page 1: MFC Example 游子宜. 動態改變標題列 step1 :加入 Edit Control.

MFC Example

游子宜

Page 2: MFC Example 游子宜. 動態改變標題列 step1 :加入 Edit Control.

動態改變標題列

Page 3: MFC Example 游子宜. 動態改變標題列 step1 :加入 Edit Control.

step1:加入 Edit Control

Page 4: MFC Example 游子宜. 動態改變標題列 step1 :加入 Edit Control.

step2:加入變數

Page 5: MFC Example 游子宜. 動態改變標題列 step1 :加入 Edit Control.

step3:加入 En_CHANGE 事件

Page 6: MFC Example 游子宜. 動態改變標題列 step1 :加入 Edit Control.

step4:加入程式碼void CDynamicMenuDlg::OnEnChangeEdit1(){

CString a ;

MyString.GetWindowText(a) ;

SetWindowText(a) ;}

Page 7: MFC Example 游子宜. 動態改變標題列 step1 :加入 Edit Control.

step5:執行畫面

Page 8: MFC Example 游子宜. 動態改變標題列 step1 :加入 Edit Control.

MFC example

Page 9: MFC Example 游子宜. 動態改變標題列 step1 :加入 Edit Control.

Method_01:設定 Document的長寬

Page 10: MFC Example 游子宜. 動態改變標題列 step1 :加入 Edit Control.

Method_01:設定 Document的長寬( 續 )

Page 11: MFC Example 游子宜. 動態改變標題列 step1 :加入 Edit Control.

Method_02:設定父框架的縮放大小

Page 12: MFC Example 游子宜. 動態改變標題列 step1 :加入 Edit Control.

Method_02:設定父框架的縮放大小 (續 )

Page 13: MFC Example 游子宜. 動態改變標題列 step1 :加入 Edit Control.

Method_03:隱藏文件標題

Page 14: MFC Example 游子宜. 動態改變標題列 step1 :加入 Edit Control.

Method_03:隱藏文件標題 ( 續 )

Page 15: MFC Example 游子宜. 動態改變標題列 step1 :加入 Edit Control.

Method_04:隱藏最大化最小化按鈕

Page 16: MFC Example 游子宜. 動態改變標題列 step1 :加入 Edit Control.

Method_04:隱藏最大化最小化按鈕 (續 )

Page 17: MFC Example 游子宜. 動態改變標題列 step1 :加入 Edit Control.

Method_05:限制改變視窗大小

Page 18: MFC Example 游子宜. 動態改變標題列 step1 :加入 Edit Control.

Method_05:限制改變視窗大小 ( 續 )

Page 19: MFC Example 游子宜. 動態改變標題列 step1 :加入 Edit Control.

Method_06:預設視窗大小

Page 20: MFC Example 游子宜. 動態改變標題列 step1 :加入 Edit Control.

Method_06:預設視窗大小 ( 續 )

Page 21: MFC Example 游子宜. 動態改變標題列 step1 :加入 Edit Control.

Method_06:預設視窗大小 ( 續 )

Page 22: MFC Example 游子宜. 動態改變標題列 step1 :加入 Edit Control.

Method_07:文件視窗預設最大化