Download presentation
Presentation is loading. Please wait.
Published byRyley Perritt Modified over 9 years ago
1
Nicolas Brun Senior Development Lead Microsoft Corporation PC14
2
Office Button Quick Access Toolbar Tab Contextual Tab Set Contextual Tab Help Group (aka “Chunk”) Dialog Box Launcher
3
Application Menu Quick Access Toolbar Tab Contextual Tab Set Contextual Tab Help Group (aka “Chunk”) Dialog Launcher
7
1 Office 2007 style available now, Windows style available 2009 Microsoft’s Ribbon Strategy MFCMFCScenicScenicWPFWPF Target: Managed Target: Managed Target: MFC native Target: MFC native Target: Native Target: Native needs.NET 3.5 Win2K or newer Vista or newer Office 2007 & Windows styles Office 2007 & Windows styles 1 Windows visual style Coming soon… Official release in 2009 Available now in Visual Studio 2008 SP1 Coming soon… Ships with Windows 7 Coming soon… Ships with Windows 7
9
Markup Organization of controls Markup Organization of controls COM API Initialization and Events handling MyHandler::Execute(…) { DoStuff(); } COM API Initialization and Events handling MyHandler::Execute(…) { DoStuff(); } Windows Scenic Ribbon Application- specific Business Logic void DoStuff() { … } Application- specific Business Logic void DoStuff() { … }
11
ApplicationRibbon Platform IUIApplication IUIFramework CoCreateInstance Initialize (HWND, IUIApplication*) LoadUI( resourceName ) OnCreateCommand
12
IUICommandHandler interface Execute(UINT32 commandId, UI_COMMAND_EXECUTIONVERB verb, const PROPERTYKEY* key, const PROPVARIANT* currentValue, IUISimplePropertySet* commandExecutionProperties) UpdateProperty(UINT32 commandId, REFPROPERTYKEY key, const PROPVARIANT* currentValue, PROPVARIANT* newValue)
18
Please fill out your evaluation for this session at: This session will be available as a recording at: www.microsoftpdc.com
20
© 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION. nibrun@microsoft.com ryandemo@microsoft.com
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.