IVsUIShell Methods

 

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

NameDescription
System_CAPS_pubmethodAddNewBFNavigationItem(IVsWindowFrame, String, Object, Int32)

Adds a new backward and forward navigation item.

System_CAPS_pubmethodCenterDialogOnWindow(IntPtr, IntPtr)

Centers the provided dialog box HWND on the parent HWND (if provided), or on the main IDE window.

System_CAPS_pubmethodCreateDocumentWindow(UInt32, String, IVsUIHierarchy, UInt32, IntPtr, IntPtr, Guid, String, Guid, IServiceProvider, String, String, Int32[], IVsWindowFrame)

This method creates a document window containing the embedding indicated by the punkDocView parameter.

System_CAPS_pubmethodCreateToolWindow(UInt32, UInt32, Object, Guid, Guid, Guid, IServiceProvider, String, Int32[], IVsWindowFrame)

This method creates a tool window containing the embedding indicated by punkDocView, or the clsidDocView parameter, if the punkDocView parameter is null.

System_CAPS_pubmethodEnableModeless(Int32)

Enables or disables a frame's modeless dialog box.

System_CAPS_pubmethodFindToolWindow(UInt32, Guid, IVsWindowFrame)

Returns the IVsWindowFrame pointer for the requested single-instance tool window.

System_CAPS_pubmethodFindToolWindowEx(UInt32, Guid, UInt32, IVsWindowFrame)

Returns the IVsWindowFrame pointer for the requested single- or multi-instance tool window.

System_CAPS_pubmethodGetAppName(String)

Returns the name of the application.

System_CAPS_pubmethodGetCurrentBFNavigationItem(IVsWindowFrame, String, Object)

Returns the current backward and forward navigation item.

System_CAPS_pubmethodGetDialogOwnerHwnd(IntPtr)

Returns the HWND that can be used to parent modal dialogs.

System_CAPS_pubmethodGetDirectoryViaBrowseDlg(VSBROWSEINFOW[])

Brings up the Browse dialog box to find a directory location.

System_CAPS_pubmethodGetDocumentWindowEnum(IEnumWindowFrames)

Returns an enumerator that iterates through all existing document windows in the environment.

System_CAPS_pubmethodGetErrorInfo(String)

Gets the text of error messages.

System_CAPS_pubmethodGetNextBFNavigationItem(IVsWindowFrame, String, Object)

Returns the next backward and forward navigation item.

System_CAPS_pubmethodGetOpenFileNameViaDlg(VSOPENFILENAMEW[])

Brings up the Open dialog box to obtain an open file name.

System_CAPS_pubmethodGetPreviousBFNavigationItem(IVsWindowFrame, String, Object)

Returns the previous backward and forward navigation item.

System_CAPS_pubmethodGetSaveFileNameViaDlg(VSSAVEFILENAMEW[])

Brings up the Save As dialog box to save a file.

System_CAPS_pubmethodGetToolWindowEnum(IEnumWindowFrames)

Returns an enumerator that iterates through all of the existing tool windows in the environment.

System_CAPS_pubmethodGetURLViaDlg(String, String, String, String)

Brings up Open Project From Web dialog box to obtain a URL from a user.

System_CAPS_pubmethodGetVSSysColor(VSSYSCOLOR, UInt32)

This method is deprecated. Use GetVSSysColorEx instead.

System_CAPS_pubmethodOnModeChange(DBGMODE)

Internal method. Do not use.

System_CAPS_pubmethodPostExecCommand(Guid, UInt32, UInt32, Object)

Allows asynchronous execution of commands.

System_CAPS_pubmethodPostSetFocusMenuCommand(Guid, UInt32)

Sets focus in a combo box.

System_CAPS_pubmethodRefreshPropertyBrowser(Int32)

Makes it possible for a project (or any other selected object being browsed by the Properties window) to keep the Properties window in sync with property changes without implementing IConnectionPointContainer and firing OnChanged events.

System_CAPS_pubmethodRemoveAdjacentBFNavigationItem(RemoveBFDirection)

Removes an adjacent navigation item in the specified direction.

System_CAPS_pubmethodRemoveCurrentNavigationDupes(RemoveBFDirection)

Removes navigation duplicates in backward and forward navigation.

System_CAPS_pubmethodReportErrorInfo(Int32)

Helper method that displays an error message to the user.

System_CAPS_pubmethodSaveDocDataToFile(VSSAVEFLAGS, Object, String, String, Int32)

Helper method used by editors that implement the IVsPersistDocData interface.

System_CAPS_pubmethodSetErrorInfo(Int32, String, UInt32, String, String)

Helper method that records rich information about an error.

System_CAPS_pubmethodSetForegroundWindow()

Activates the environment application window by calling the SetForegroundWindow Win32 API.

System_CAPS_pubmethodSetMRUComboText(Guid, UInt32, String, Int32)

Adds information to a combo box list.

System_CAPS_pubmethodSetMRUComboTextW(Guid[], UInt32, String, Int32)

Adds information to a combo box list.

System_CAPS_pubmethodSetToolbarVisibleInFullScreen(Guid[], UInt32, Int32)

Sets the toolbar to visible when the window is in full-screen mode.

System_CAPS_pubmethodSetupToolbar(IntPtr, IVsToolWindowToolbar, IVsToolWindowToolbarHost)

Called by VSPackage that creates a tool window in order to attach a toolbar to the tool window.

System_CAPS_pubmethodSetWaitCursor()

Changes the cursor to the hourglass cursor.

System_CAPS_pubmethodShowContextMenu(UInt32, Guid, Int32, POINTS[], IOleCommandTarget)

Shows the context menu for the active menu object.

System_CAPS_pubmethodShowMessageBox(UInt32, Guid, String, String, String, UInt32, OLEMSGBUTTON, OLEMSGDEFBUTTON, OLEMSGICON, Int32, Int32)

Manages implementation of a message box event.

System_CAPS_pubmethodTranslateAcceleratorAsACmd(MSG[])

Causes the environment to use the active key binding table to convert, if possible, a keyboard message into the appropriate command, then route the command using the usual command routing mechanism.

System_CAPS_pubmethodUpdateCommandUI(Int32)

Informs the environment to update the state of the command bars (menus and toolbars).

System_CAPS_pubmethodUpdateDocDataIsDirtyFeedback(UInt32, Int32)

Makes it possible for a document data object to synchronously inform the environment when their document must be changed.

Return to top
Show: