Window structure of IE7

Source: Internet
Author: User
Unlike IE6, the window structure of IE7 has been greatly changed.

Ieframe (main window)
|
| -- Workerw (navigation bar, that is, the address bar, and the search bar unique to IE7)
|
| -- Rebarwindow32
|
| -- Commandbarclass
|
| -- Rebarwindow32
|
| -- Tabwindowclass (smaple: http://www.sina.com)
|
| -- Shell docobject View
|
| -- Internet assumer_server (browser window)

To support multiple pages, multiple tabwindowclass subwindows may exist in ieframe. Each tabwindowclass corresponds to a webpage.

There are three subwindows under the WorkerW-ReBarWindow32 (navigation bar:
Travelband, responsible for the toolbar section of the top left corner of IE7
Address band root, responsible for the address bar
Universalsearchband, responsible for the unique search bar of IE7
There are also level 1 to level 3 subwindows under these three subwindows, which are not listed one by one!

The CommandBarClass-ReBarWindow32 is responsible for the second line of the IE window, including favorites, tab, commonly used toolbar, etc.

There is also a big difference from previous versions, that is, the thread where the window is located.
Before IE6, other UI elements such as Internet assumer_server and toolbar were in the same thread. Therefore, when BHO is used, the thread is the same as the UI thread.

In IE7, each tabwindowclass/Internet assumer_server is in an independent thread and is separated from other UI threads of IE. Other UIS include:
Ieframe, workerw navigation bar, And commandbarclass (tab and common toolbar) are all in the same thread. Therefore, in IE7, if you want to hook the child or subclass the window in BHO, you should consider the cross-thread issue.

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.