Host Custom Controls using Windows Ribbon Framework - winapi

Does anybody know if it's possible to host custom controls within the Ribbon bar when using the native Windows Ribbon Framework (the one introduced with Windows 7, used in MS Paint / Wordpad for example, NOT the Office Ribbon Framework)?
I know of the available controls as listed at the following MSDN source but I'd like to know if it's possible to use my own controls too.
http://msdn.microsoft.com/en-us/library/dd940497(v=vs.85).aspx

From what I have experienced so far this is not possible. Neither got an answer here, nor in the Microsoft Partner forums.
Marking as solved.

Related

Outlook Add-in: Does Outlook Horizontal Add-in View Exist?

I’m a developer working on an add-in for Microsoft Outlook. We are running into a UI bug with certain window sizes. We are having problems resolving this, because we are supporting a horizontal add-in view that we encountered on Outlook on the web in 2016 (please see links below for examples). We haven’t been able to find this view/layout anywhere over many Outlook platforms. Is it safe for us to assume that the horizontal read view has been completely replaced by the add-in commands version that opens the taskpane on the side?
Example One
Example Two
#K. Yu, horizontal add-ins are no longer supported, so use Add-In commands or Contextual Add-ins, depending on what suits your needs.
Check out this blogpost with more information.

Customize Windows 10 Start Menu

I have a potential requirement of modifying the Windows 10 Start Menu structure. I know that you can customize the groups and tiles: https://blogs.technet.microsoft.com/deploymentguys/2016/03/07/windows-10-start-layout-customization/
My question is if there is any possible way (through API or any other option) that allows to, instead of only pinning windows desktop applications, display your custom code.
Example: we have a group called My work which pins windows applications, but we also have a group called Discover which displays custom code, not windows 10 apps.
I think it is not achievable, but want to give it a try and ask the community. Thanks a lot in advance!
Modify start menu should not be a feature of common UWP development. The start menu should only be controlled by customer themselves. So it's not possible for you to think about develop this kind of feature.
And as you've already see that OEM can modify OEM group. Actually you can find related info from here.

What sort of GUI controls are used in Windows Resource Monitor?

I am new to GUI programming in Windows.
The Windows Resource Monitor (perfmon.exe /res) has four bars (CPU/Disk/Network/Memory) that have gradient backgrounds, as well as charts on the right for displaying recent CPU/Disk/Network/Memory usage.
I am wondering what kind of controls were used in this application. Are they readily available in C++ or in C#?
They are custom controls that are not available for external use, sorry.
You can use the Spy++ window finder tool (Spy++ is included with DevStudio) to find the window class names (and window boundaries).
http://msdn.microsoft.com/en-us/library/aa266028(v=vs.60).aspx
It shows that the overall window is a DirectUIHWND, the graphs are windows but the bars labelled CPU/Disk/Network, etc are not windows at all, the appear to be drawn directly in the resource monitors client area.
The implementation is not public for these controls, but I'm pretty sure they are incorporated using Windowless Controls.
Those bars remind me of Outlook bars. One old implementation is described in Code Project, and that one also has no windows on its own. Everything is painted inside.
Edit: That Code Project article was C# port. For C++ original go to Code Guru.

Ribbon UI and Desktop Window Manager API on windows

I am trying to implement my own ribbon UI in native c++. How is this implemented on windows XP ?? Unfortunately I cannot use any of the available frameworks.
I have been able to get my app working on windows 7 following the sample shown at http://msdn.microsoft.com/en-us/library/windows/desktop/bb688195(v=VS.85).aspx
My app has buttons in the titlebar area on the top left corner and tabs integrated with glass/window background.This works for vista and 7 but not on XP. Is it possible to implement this on XP ??
Office 2010 seems to still have the same look sans the glass effect when i turn off the Aero theme on win7. How would i get this to happen in my app??
Thanks,
Abhinay
It is not possible to implement ribbon UI yourself on Windows XP since Windows XP does not contain an API for that purpose. Apart from that the ribbon UI internally uses the undocumented NetUI (the class name of the ribbon window is NetUIHWND).

Creating a Custom Silverlight Designer in WPF

I need to create a designer for Silverlight in WPF and I’m thinking of a few options
Use a WebBrowser control,
display the content there and
communicate Silverlight using the
JavaScript Bridge. Not sure if this
will be enough for the scenarios I
need to support (see below). This is what KaXaml is doing. SilverlightSpy uses a a more sophisticated WebBrowser control, but I'm not sure how they communicate with Silverlight.
Communicate using Sockets
between the Host and Silverlight.
Host the Silverlight runtime (not in
a browser), but directly using
AgCore.dll. Similar to what sllauncher does for OOB. I imagine
this is what Blend/VS are doing.
Do whatever Blend or VS are doing
which.
I obviously don’t want to go as far as VS and Blend, but I need to support drag and drop of some controls as well as grouping, changing the layout, moving controls in the design surface and obviously updating the Xaml as a result of this actions.
Any ideas, recommendations or pointers on the best way to create a Silverlight Designer in WPF?
SharpDevelop 4 has a WPF based editor for WPF and Silverlight -> http://www.icsharpcode.net/opensource/sd/

Resources