Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

IUIApplication (Interfaces)
 
.
Summary
The IUIApplication interface is implemented by the application and defines the callback entry-point methods for the Windows Ribbon (Ribbon) framework.

C# Definition:

// Application callback interface
[ComImport]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("D428903C-729A-491d-910D-682A08FF2522")]
public interface IUIApplication
{
     // A view has changed
     [PreserveSig]
     HRESULT OnViewChanged(UInt32 viewId,
               UI_ViewType typeID,
               [MarshalAs(UnmanagedType.Interface)] object view,
               UI_ViewVerb verb,
               int uReasonCode);

     // Command creation callback
     [PreserveSig]
     HRESULT OnCreateUICommand(UInt32 commandId,
                   UI_CommandType typeID,
                   [Out, MarshalAs(UnmanagedType.Interface)] out IUICommandHandler commandHandler);

     // Command destroy callback
     [PreserveSig]
     HRESULT OnDestroyUICommand(UInt32 commandId,
                UI_CommandType typeID,
                [MarshalAs(UnmanagedType.Interface)] IUICommandHandler commandHandler);
}

Notes:

None.

Documentation

Please edit this page!

Do you have...

  • helpful tips?
  • corrections to the existing content?
  • alternate definitions?
  • additional languages you want to include?

Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing any supporting types needed.

 
Access PInvoke.net directly from VS:
Terms of Use
Edit This Page
Find References
Show Printable Version
Revisions