Course detail

Programming in Windows

FSI-VPW Acad. year: 2024/2025 Winter semester

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

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.

The study programmes with the given course

Programme N-MAI-P: Mathematical Engineering, Master's, compulsory-optional

Programme N-AIŘ-P: Applied Computer Science and Control, Master's, elective

Type of course unit

 

Lecture

26 hours, optionally

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 hours, compulsory

Syllabus

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