Customer zone and non-customer zone? Window customer area and view customer area?

Source: Internet
Author: User

1 What is a customer zone/non-customer zone?

2 what is the difference between the customer zone of the window (frame/frame) and the customer zone of the view?

For multi-document (MDI) ApplicationsProgram:

 

Figure 1

 

 

 

Figure 2

 

 

 

1. the customer area of the window frame refers to the gray area in the figure: that is, the area in the blue box in Figure 2. The non-customer area of the frame refers to the window area outside the Blue Box, including the program icon, title bar, menu, maximum and minimum/Close button, two boxes and two State bars.

2. the customer area of the view refers to the green area in the figure: the area in the red box in Figure 2. The non-customer area of the view refers to the area outside the red box of the view, including the file icon, title Bar, three buttons and two scroll bars.

3. it can be seen that the toolbar (tool bar) does not belong to the non-customer area of the framework. It is a "brother" in the customer area of the framework with the view ". it is also a window. You may drag the toolbar and drag it out of the frame window area.

4. In future programming, for cclientdc, cwindowdc, getclientdc (), getwindowdc () should be easily separated.

The above is my own search and summary. I hope it will help some people. If there is anything wrong, please correct me.

5. in a single document, the areas referred to by each concept can be analyzed similarly.

 

from: http://hi.baidu.com/chenfalei/blog/item/da8440fb331f0767024f56e5.html

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.