Menu Ku-Yaw Chang Assistant Professor, Department of Computer Science and Information Engineering...

24
Menu Menu Ku-Yaw Chang Ku-Yaw Chang [email protected] [email protected] Assistant Professor, Department of Assistant Professor, Department of Computer Science and Information Engineering Computer Science and Information Engineering Da-Yeh University Da-Yeh University

description

32004/03/16Windows Programming Menu A part of resources

Transcript of Menu Ku-Yaw Chang Assistant Professor, Department of Computer Science and Information Engineering...

Page 1: Menu Ku-Yaw Chang Assistant Professor, Department of Computer Science and Information Engineering Da-Yeh University.

MenuMenu

Ku-Yaw ChangKu-Yaw [email protected]@mail.dyu.edu.tw

Assistant Professor, Department of Assistant Professor, Department of Computer Science and Information EngineeringComputer Science and Information Engineering

Da-Yeh UniversityDa-Yeh University

Page 2: Menu Ku-Yaw Chang Assistant Professor, Department of Computer Science and Information Engineering Da-Yeh University.

222004/03/162004/03/16 Windows ProgrammingWindows Programming

OutlineOutline

MenuMenuEvent HandlerEvent Handler Update viewsUpdate views

Page 3: Menu Ku-Yaw Chang Assistant Professor, Department of Computer Science and Information Engineering Da-Yeh University.

332004/03/162004/03/16 Windows ProgrammingWindows Programming

MenuMenu

A part of resourcesA part of resources

Page 4: Menu Ku-Yaw Chang Assistant Professor, Department of Computer Science and Information Engineering Da-Yeh University.

442004/03/162004/03/16 Windows ProgrammingWindows Programming

MenuMenu

Page 5: Menu Ku-Yaw Chang Assistant Professor, Department of Computer Science and Information Engineering Da-Yeh University.

552004/03/162004/03/16 Windows ProgrammingWindows Programming

IDR_MAINFRAMEIDR_MAINFRAME

Page 6: Menu Ku-Yaw Chang Assistant Professor, Department of Computer Science and Information Engineering Da-Yeh University.

662004/03/162004/03/16 Windows ProgrammingWindows Programming

MenuMenu

Page 7: Menu Ku-Yaw Chang Assistant Professor, Department of Computer Science and Information Engineering Da-Yeh University.

772004/03/162004/03/16 Windows ProgrammingWindows Programming

IDR_PRTYPEIDR_PRTYPE

Page 8: Menu Ku-Yaw Chang Assistant Professor, Department of Computer Science and Information Engineering Da-Yeh University.

882004/03/162004/03/16 Windows ProgrammingWindows Programming

Adding a Menu ItemAdding a Menu Item

Page 9: Menu Ku-Yaw Chang Assistant Professor, Department of Computer Science and Information Engineering Da-Yeh University.

992004/03/162004/03/16 Windows ProgrammingWindows Programming

Adding a Menu ItemAdding a Menu Item

Page 10: Menu Ku-Yaw Chang Assistant Professor, Department of Computer Science and Information Engineering Da-Yeh University.

10102004/03/162004/03/16 Windows ProgrammingWindows Programming

Adding a Menu ItemAdding a Menu Item

Page 11: Menu Ku-Yaw Chang Assistant Professor, Department of Computer Science and Information Engineering Da-Yeh University.

11112004/03/162004/03/16 Windows ProgrammingWindows Programming

Adding a Menu ItemAdding a Menu Item

Page 12: Menu Ku-Yaw Chang Assistant Professor, Department of Computer Science and Information Engineering Da-Yeh University.

12122004/03/162004/03/16 Windows ProgrammingWindows Programming

Adding a Menu ItemAdding a Menu Item

Page 13: Menu Ku-Yaw Chang Assistant Professor, Department of Computer Science and Information Engineering Da-Yeh University.

13132004/03/162004/03/16 Windows ProgrammingWindows Programming

Adding a Menu ItemAdding a Menu Item

Page 14: Menu Ku-Yaw Chang Assistant Professor, Department of Computer Science and Information Engineering Da-Yeh University.

14142004/03/162004/03/16 Windows ProgrammingWindows Programming

Adding a Menu ItemAdding a Menu Item

Page 15: Menu Ku-Yaw Chang Assistant Professor, Department of Computer Science and Information Engineering Da-Yeh University.

15152004/03/162004/03/16 Windows ProgrammingWindows Programming

Adding a Menu ItemAdding a Menu Item

Page 16: Menu Ku-Yaw Chang Assistant Professor, Department of Computer Science and Information Engineering Da-Yeh University.

16162004/03/162004/03/16 Windows ProgrammingWindows Programming

Adding a Menu ItemAdding a Menu Item

Page 17: Menu Ku-Yaw Chang Assistant Professor, Department of Computer Science and Information Engineering Da-Yeh University.

17172004/03/162004/03/16 Windows ProgrammingWindows Programming

Event HandlerEvent Handler

影像初始化影像初始化 : ID_IMAGE_INIT: ID_IMAGE_INIT Document : data + Document : data + core functionalitycore functionality

C***DocC***Doc View : input and outputView : input and output

C***ViewC***View

Event Handler(Event Handler( 事件處理常式事件處理常式 )) Call-back functionCall-back function

Page 18: Menu Ku-Yaw Chang Assistant Professor, Department of Computer Science and Information Engineering Da-Yeh University.

18182004/03/162004/03/16 Windows ProgrammingWindows Programming

Event HandlerEvent Handler

Page 19: Menu Ku-Yaw Chang Assistant Professor, Department of Computer Science and Information Engineering Da-Yeh University.

19192004/03/162004/03/16 Windows ProgrammingWindows Programming

Event HandlerEvent Handler

Page 20: Menu Ku-Yaw Chang Assistant Professor, Department of Computer Science and Information Engineering Da-Yeh University.

20202004/03/162004/03/16 Windows ProgrammingWindows Programming

Event HandlerEvent Handler

Page 21: Menu Ku-Yaw Chang Assistant Professor, Department of Computer Science and Information Engineering Da-Yeh University.

21212004/03/162004/03/16 Windows ProgrammingWindows Programming

Event HandlerEvent Handler

Page 22: Menu Ku-Yaw Chang Assistant Professor, Department of Computer Science and Information Engineering Da-Yeh University.

22222004/03/162004/03/16 Windows ProgrammingWindows Programming

Event HandlerEvent Handler

Page 23: Menu Ku-Yaw Chang Assistant Professor, Department of Computer Science and Information Engineering Da-Yeh University.

23232004/03/162004/03/16 Windows ProgrammingWindows Programming

Event HandlerEvent Handler

Page 24: Menu Ku-Yaw Chang Assistant Professor, Department of Computer Science and Information Engineering Da-Yeh University.

24242004/03/162004/03/16 Windows ProgrammingWindows Programming

Update ViewsUpdate Views

Automatic update Automatic update UpdateAllViews(NULL);UpdateAllViews(NULL);