Windows shell programming

Source: Internet
Author: User

Download an e-book in chm format:Http://download.csdn.net/source/2843130

 

Note: I did not write this book. I just compiled it into an e-book for your convenience.

 

A good definition of an operating system shell is that it is a user interface provided by the system that allows users to execute public tasks, such as accessing the file system, exporting execution programs, and changing system settings. The MS-DOS has a command. com playing this role. However, Windows has a graphical interface environment, and its shell program must be graphical. Before Windows 95, the default Windows shell is the program manager.

The program manager is a central console where you can start applications, rearrange and reorganize icons, and execute new tasks. In other words, the Program Manager manages all programs under the Windows umbrella as prompted by his name. Now the corresponding program manager is the file manager, which is a tool designed specifically to maintain the file system.

With the emergence of Windows 95, the detector replaces the two old tools and integrates the functions of the two. If you want to, you can still find that the File Manager is still deeply hidden in the Windows System directory. However, since the user friendliness is worse than the latter, it is rarely used today.

In general, a detector is a program, which is started when you need to browse the file system by clicking "my computer" or right-clicking the "Start" button. In fact, detectors always start and run, starting from boot until you close your computer. Intuition is the "detector", which is actually the window under the new concept. The probe is an executable utility (assumer.exe) that implements the Windows Shell function.

In this chapter, we will mainly introduce the housing and detectors.

Shell Components

Detector Structure

Shell Components

Shell is composed of many different parts. Now we are starting from the most obviousDesktopAndTask entryStart. In terms of concept, desktop is the parent object of all Windows Shell objects, that is, the host object. In terms of implementation, the desktop is a special window (named #32769) of the system-defined window class, and is the ancestor window of all windows. The top-level windows of the exported applications are generally desktop subwindows. There is an interesting window subtree in these subwindows, whose root is "program manager ".......

 

Download an e-book in chm format:Http://download.csdn.net/source/2843130

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.