Type a page name and press Enter. You'll jump to the page if it exists, or you can create it if it doesn't.
To create a page in a module other than Interfaces, prefix the name with the module name and a period.
IUIFramework (Interfaces)
.
C# Definition:
// Windows Ribbon Application interface
[ComImport]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("F4F0385D-6872-43a8-AD09-4C339CB3F5C5")]
public interface IUIFramework
{
// Connects the framework and the application
[PreserveSig]
HRESULT Initialize(IntPtr frameWnd, IUIApplication application);
// Releases all framework objects
[PreserveSig]
HRESULT Destroy();
// Loads and instantiates the views and commands specified in markup
[PreserveSig]
HRESULT LoadUI(IntPtr instance, [MarshalAs(UnmanagedType.LPWStr)] string resourceName);
// Retrieves a pointer to a view object
[PreserveSig]
HRESULT GetView(UInt32 viewId, Guid riid, [Out(), MarshalAs(UnmanagedType.Interface)] out object /* [out, iid_is(riid), annotation("__deref_out")] void** */ ppv);
// Retrieves the current value of a property
[PreserveSig]
HRESULT GetUICommandProperty(UInt32 commandId, [In] ref PropertyKey key, out PropVariant value);
// Immediately sets the value of a property
[PreserveSig]
HRESULT SetUICommandProperty(UInt32 commandId, [In] ref PropertyKey key, [In] ref PropVariant value);
// Asks the framework to retrieve the new value of a property at the next update cycle
[PreserveSig]
HRESULT InvalidateUICommand(UInt32 commandId, UI_Invalidations flags, [In] ref PropertyKey key);
// Flush all the pending UI command updates
[PreserveSig]
HRESULT FlushPendingInvalidations();
// Asks the framework to switch to the list of modes specified and adjust visibility of controls accordingly
[PreserveSig]
HRESULT SetModes(Int32 iModes);
}
Notes:
None.
The IUIFramework interface is implemented by the Windows Ribbon (Ribbon) framework and defines the methods that provide the core functionality for the framework.
10/11/2009 5:40:56 PM - anonymous
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.