Basic concepts of Windows Program Foundation--windows Applications

Source: Internet
Author: User

Windows is a microcomputer-based operating system that provides applications with a multi-tasking platform that provides consistent graphical Windows and menus for applications.

Windows applications have a graphical interface and are driven by events to run them.

Graphical user interface (GUI)-- fit with keyboard and mouse

difference: ordinary C language Program: Main function (System load) and function of main function call, Windows program main function (System load) and event handler function (System call);

A Windows application is made up of Windows systems and program main functions and their associated event message handler functions.

The Windows operating system and the main function names of Windows programs

The starting function prototype for a Windows application is:

int WINAPI winmain{    hinstance hinstance,    hinstance hprevinstance,    LPSTR lpcmdline        ,      int             ncmdshow};

Windows kernel, APIs, and development tools

kernel: The core code in the operating system, running at the highest level of hardware design, must be invoked using the API functions provided by Windows.

API functions: 1. Window management function--to create, move, modify the function of window

2. Image device Function--realize graphics drawing and operation function {Graphics Device interface (GDI)}

3. System service Function--implement some functions related to the operating system

Development tools:

Object-oriented programming ideas and methods--people use classes to encapsulate Windows API functions.

object-oriented and visual: Visual C + +, visual Basic, C + + Builder

Basic concepts of Windows Program Foundation--windows Applications

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.