PB Interface Design-Summary of Window Types --

Source: Internet
Author: User
According to the Message response method, the window is divided into two categories: Mode window and mode window. In the mode window
Before the operation is completed, you cannot enter another window to perform other operations. Used by the user to confirm important messages
You must provide feedback before continuing other operations, such as the error Prompt window. Non-mode windows are different.
You can open multiple instances at the same time and switch to any instance at any time. The most common example of a non-mode window is Excel.
.
To create a window, you must specify the display style of the window, such as the border, whether the control button is displayed, and whether the window can be floated.
. PB provides six predefined styles. They are:
Lmain
Lchild
Lresponse
Lpopup
Lmdi
Lmdihelp
The main window is independent of other windows. You can call other windows and overwrite other windows.
Port. It includes the control menu, control button, and display area. The main window has borders and title bars.
Allow users to adjust their size. However, the toolbar cannot be displayed in the main window. In applications
The main window is opened first, and other windows are called using the main window to complete a specific
Task. This type of window is not automatically closed when the application object is closed, unless it is closed by the user.
Therefore, if a main window is used in other places except the main operation window in an application
Close the applications before they are closed. Otherwise, even though the program ends, there are still several sporadic windows running.
Interesting situation of rows.
Subwindows are called by other windows and cannot be opened directly in applications. It can be overwritten by other windows, but not
It can overwrite other windows. It usually does not have a maximum or minimum control button, but developers can also set it
Have these. Sub-Windows do not have menus. You must pay attention to this when developing applications. Adjustable sub-Window
The size of the sub-window. The size and position of the Child Window are relative to its parent window.
. The parent window is the window that calls the Child Window. When the parent window is minimized, the Child Window also corresponds
Minimized, the floating range of the Child Window is limited to the parent window, that is, dragging the Child Window will not drag it
Out of the parent window.
The response window is a mode window, which must be responded to before continuing to execute the program; otherwise, the program cannot
Continue running. It is generally used to process important information, such as asking the user to confirm the selection and prompt the current error.
Information, enter required data in the next step, and so on. This type of window does not have a border or a maximum button, and cannot be changed
But you can drag it to change its position, which is relative to the entire screen. PB provides predefined
Response Window, such as MessageBox. This type of window is often used when important information is prompted.
Avoid using this type for business processing Windows. Because some controls may automatically use the information window
Displays some prompts. When such a control is in a response window
This can easily cause users' computers to crash.
The popup window is generally used to provide some auxiliary information. It is closely related to the parent window, but can be moved to the parent window.
The external port. When the parent window is the maximum or minimum, it is also the maximum or minimum, and the parent window is closed
It is automatically disabled. You can also adjust the size with the mouse. Popup windows can have
All components in the main window. The following table lists the features of these four types of windows.
Brief description of Window Type features
Main can overwrite other windows or overwrite other windows. It can be maximized and minimized. You can use the mouse
Change its size. There can be borders and menus. It is often used when the application's primary operation window child can be
The window overwrites other windows. It can be maximized, minimized, or changed with the mouse,
When the parent window is minimized or maximized, the Child Window is also minimized. Edge available
Box, but there is no menu. The position is relative to its parent window, and its position cannot exceed its parent window by dragging it with the mouse
Window range. It is often opened in other windows.
Response cannot be the largest, minimum, and no border. You cannot use the mouse to change its size. Continue executing the program
Before, you must respond to this type of window. It is often used to display very important information.
Popup can be maximized or minimized. You can operate other windows before responding to window types. No
The maximum size and minimum size of the parent window. You can have menus and borders. It is often used to display auxiliary information of other windows.
In addition, the MDI framework and the MDI framework with micro help are often used in the development of application software.
In addition to the common window features, it also has its own characteristics.

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.