Are there toolbar buttons I can install, or keystrokes, which will
cycle through the tabbed documents regardless of their type (source,
help, et c.) in the order in which I visited them?
For example, if I'm editing foo.cpp, select the text "CallWindowProc",
and click the Dynamic Help's "CallWindowProc" link, I go to a tab
showing the help for that function. At this point, how can I, with a
click or a keystroke, return to foo.cpp (and perhaps with further
actions go back and forth between the two pages)?
Thanks.
- Vince
Bob Johnson - 29 Jul 2007 20:23 GMT
Ctrl + Tab enables you to switch amongst tabs within an MDI application.
Alt + Tab enables you to switch amongst running applications.
-HTH
-"Bob"
> Are there toolbar buttons I can install, or keystrokes, which will
> cycle through the tabbed documents regardless of their type (source,
[quoted text clipped - 9 lines]
>
> - Vince
Vincent Fatica - 30 Jul 2007 02:53 GMT
>Ctrl + Tab enables you to switch amongst tabs within an MDI application.
That works in a peculiar way in VS2005. <Ctrl-Tab> opens a dialog
showing documents and toolbars. If you ignore the dialog and simply
release <Ctrl> you're taken to the last document. Repeating that will
alternate between the two documents regardless of their type. That
suffices for toggling between a help document and a source document.
Do you know if the same thing can be done with a VS toolbar button?
Thanks.
- Vince
Bob Johnson - 30 Jul 2007 08:18 GMT
RE:
<< Do you know if the same thing can be done with a VS toolbar button? >>
By definition (of what ctrl + Tab is), the answer is no - it's specifically
for navigating amongst opened documents within an MDI environment.
Apparently you are wanting to hit a key sequence and effectively click a
toolbar button. I doubt Visual Studio natively does that. Even so, you can
create a macro that effectively clicks the button in Visual Studio and
assign a keyboard shortcut sequence to the macro.
BTW: Ctrl + Tab works in many [practically every?] MDI application - SQL
Server Management Studio, Visio, Excel, etc... not just Visual Studio.
and that little dialog box - if you open a bunch of documents, that little
dialog box that appears lets you select the specific opened doc to go to --
not just the last one. And same for Alt + Tab in Windows - the dialog will
show all running applications and let you jump to any specific app - not
just the last one.
-HTH
>>Ctrl + Tab enables you to switch amongst tabs within an MDI application.
>
[quoted text clipped - 8 lines]
>
> - Vince
Vincent Fatica - 30 Jul 2007 16:05 GMT
>Apparently you are wanting to hit a key sequence and effectively click a
>toolbar button. I doubt Visual Studio natively does that. Even so, you can
>create a macro that effectively clicks the button in Visual Studio and
>assign a keyboard shortcut sequence to the macro.
No, the other way around. I'd like a button that emulates <Ctrl-Tab>.
I could probably cook up an external tool (EXE) that'll do that.
- Vince