Working principle of Windows program (1)

zhaozj2021-02-17  68

1 Working principle of Windows program

The Windows program is a programming method that is completely different from traditional DOS mode, which is an event-driven programming mode. There are many operable visual objects in the interface provided to the user. The user selects any of the possible operations, the selected operation generates some specific events, and the result is issued to some objects in the program, and then these object calls the corresponding message processing function to complete Specific operation. The biggest feature of Windows applications is that there is no fixed process, but only a specific subflow for processing for an event, and the Windows application is composed of many of such subflows.

Windows applications are in nature is object-oriented. The program provides a visual object to the user interface is generally an object within the program, and the user triggered the availability of the corresponding object through the operation of the visual object. The running process of the program is that the user's external operation is constantly generating events, and these events are processed by the corresponding object. Behind I will continue to discuss the discussion of the specific working principle of Windows.

转载请注明原文地址:https://www.9cbs.com/read-31102.html

New Post(0)