Course detail

Programming in Windows

FSI-VPWAcad. year: 2024/2025

The course deals with the following topics: Event-driven programming, using of Windows API, kernel objects, processes and threads, synchronization objects, virtual address space, windows, dialogs, control objects, resources, graphical user interface, fonts, palettes, printing, registry, ini files.

Language of instruction

Czech

Number of ECTS credits

4

Mode of study

Not applicable.

Entry knowledge

Programming ability in C, C++ or Pascal languages.

Rules for evaluation and completion of the course

Course-unit credit requirements: Functional application for Windows.
Examination: the exam tests students’ knowledge of the basics of programming
for Windows, and includes a discussion over the application created.
The attendance at lectures is recommended; the attendance at seminars is obligatory. Lessons are organised according to a week schedule. The form of substituting of missed seminars is fully in the competence of the tutor.

Aims

The aim of the course is to familiarise students with the basics of programming for Windows, event-driven programming, and with the use of API.
Creating of medium complex applications for Windows.

Study aids

Not applicable.

Prerequisites and corequisites

Not applicable.

Basic literature

Richter J.: Advanced Windows, Microsoft Press, 1997 (EN)
Simon R.J., Gouker M., Barnes B.C.: Win 32 API - průvodce vývojáře, Unis publishing, 1997 (CS)

Recommended reading

Petzold C.: Programování ve Windows, Computer Press, 1999 (CS)

Classification of course in study plans

  • Programme N-MAI-P Master's 1 year of study, winter semester, compulsory-optional
  • Programme N-AIŘ-P Master's 1 year of study, winter semester, elective

Type of course unit

 

Lecture

26 hod., optionally

Teacher / Lecturer

Syllabus

1. Window, system of messages.
2. GDI, device context, drawing, mapping modes, scroll bars.
3. Keyboard, mouse, timer.
4. Controls.
5. Resources: icons, cursors, strings, menus, accelerators.
6. Dialog boxes.
7. Printer, bitmaps.
8. Palette manager, fonts.
9. Kernel objects, processes and threads, synchronization.
10. Win32 memory architecture, data exchange between processes.
11. Registry.

Computer-assisted exercise

26 hod., compulsory

Teacher / Lecturer

Syllabus

1. Introduction to Borland Delphi and Visual C++
2.-12. Example applications, programming of a credit application.
13. Course-unit credits awarding.