Showing changes from revision #4 to #5:
Added | Removed | Changed
Window panes are similar to standard windows with one major difference: they are attached to other windows. These windows are called Tool Windows. Normally panes are attached to the outer edge of Tool windows. As a Tool window gets dragged by a mouse pointer, so do the panes.
They are often used to display commonly used icons in an application.
Window panes are actually defined as a standard window with one difference; within the Window Flags, bit 5 is set to specify a pane window.
This flag is used in two different circumstances:
1 | When a pane gets the input focus, the tool window is highlighted. |
2 | When toggling the tool window, the Wimp must treat panes as transparent. |
Although window panes can increase the productivity of an application, they do require more effort. For a start, the application itself must handle all the management of window panes.
Important aspects to consider when dealing with window panes are:
1 | When a Tool window is closed, any attached panes must also be closed by the application. |
2 | When a Tool window is opened, any attached panes must be opened by the application. |
Notes: