Window Types(Tool windows/document windows)/窗口类型(工具窗口/文档窗口) in VS

 

中文:http://msdn.microsoft.com/zh-cn/library/xs71dea4(VS.80).aspx

English:http://msdn.microsoft.com/en-us/library/xs71dea4(VS.80).aspx

 

Window Types

The integrated development environment (IDE) contains two basic window types: tool windows and document windows. These two window types behave in slightly different ways.

Tool windows and document windows cannot be grouped together in the IDE.

Tool windows are listed on the View menu and are defined by the current application and its add-ins.

You can configure tool windows in the IDE to:

  • Show or hide automatically

  • Tab link with other tool windows

  • Dock against the edges of the IDE

  • Float over

  • Display on other monitors

In addition, you can display more than one instance of certain tool windows at a time. For example, you can display more than one Web browser window. You can create new instances of a tool window by choosing New Window on the Window menu. Also, you can determine how the Close and Auto Hide buttons affect a group of tool windows docked together.

Document windows are dynamically created when you open or create files or other items. The list of open document windows appears on the Window menu in the current z-order, with the top-most window listed first.

The ways in which you manage your document windows depends greatly upon the interface mode selected in the General, Environment, Options Dialog Box. You can choose to work either in Tabbed Documents mode (the default) or in Multiple Document Interface (MDI) mode. Experiment with these settings to create a document editing environment that satisfies your needs and preferences. For more information, see Window Management.

Dockable windows

In Tabbed Mode, you can make document windows dockable or undockable by selecting or clearing Dockable on the Window menu. In MDI mode, document windows are undockable.

NoteTip

Certain document windows within the IDE are actually tool windows that have the dockable trait turned off. To dock these windows, choose Dockable from the Window menu.

Tab Groups

Tab Groups are available only in Tabbed Documents mode. They extend your ability to manage limited workspace while working with two or more open documents in the IDE. You can organize multiple document windows into either vertical or horizontal Tab Groups and easily shuffle documents from one Tab Group to another.

NoteTip

Tabbed documents can be dragged across the IDE by their tabs.

Tiled/Cascading windows

Windows can be tiled or arranged into cascading stacks only in MDI mode.

Split Windows

When you find yourself needing to view or edit two locations at once in a document, split windows can be useful. To divide your document into two independently scrolling sections, choose Split from the Window menu. Select Remove Split from the Window menu to restore the single view.

Reusing document windows

To reduce the number of windows open at the same time, you can choose to view all unchanged documents in the same document window, letting each new document you open replace the last. Choose the Re-use current document window option on the General page of Environment Options.

NoteNote

New documents will open in the current document window so long as the active document has not been changed.

Displaying help topics in windows

Help topics can be displayed internally or externally. These options are available in the Help, Environment, Options Dialog Box.

NoteNote

Changes to these settings do not take affect until the IDE is restarted.

By default, Help launches Help topics in an external program called Microsoft Document Explorer. Help tool windows can float, or be docked and pinned open or set to auto-hide when not in use, much like tool windows in the IDE.

转载于:https://www.cnblogs.com/zzj8704/archive/2010/08/23/1806444.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值