Skip to content

Latest commit

 

History

History
40 lines (35 loc) · 1.99 KB

WP_LAB#2.md

File metadata and controls

40 lines (35 loc) · 1.99 KB

Windows Programming Laboratory Work #2

Initial version

Title

Advanced Form Elements. Child Windowses. Basics of Working With Keyboard.

Contents

  • The Keyboard
  • Child Window Controls
    • Scroll Bar
    • Listbox
  • Menus and Other Resources
  • Dialog Boxes

Laboratory work Requirements:

  • for Basic Level (grade 5 || 6) you should be able to:
    • Create a Windows application what will dispaly a dialog box on some event (ex. on clicking some button)
    • Add a system menu to your application with at least 3 items (add actions to that items)
    • Hook keyboard input. Add 2 custom events for 2 different keyboard combinations (ex. change window background on ctrl+space)
  • for Normal Level (grade 7 || 8) you should be able to:
    • Realize the tasks from Basic Level.
    • Add a scroll bar that will change any visible parameter of any other element (color of a text) OR other 2 scroll bars that will manage main window size or position
  • for Advanced Level (grade 9 || 10) you should be able to:
    • Realize the tasks from Normal Level.
    • Customize your application by adding an icon and using different cursor in application
    • Add a listbox and attach some events when any element is accessed (clicked)
  • for Bonus Point Tasks :
    • Use a scroll bar to scroll through application working space. Scroll should appear only when necessary (eg. when window width is smaller than 300px)

References