Pelles C forum

C language => Tips & tricks => Topic started by: TimoVJL on January 17, 2014, 09:49:59 PM

Title: codeproject Win32Ribbon example with PellesC
Post by: TimoVJL on January 17, 2014, 09:49:59 PM
codeproject Win32Ribbon example from here (http://www.codeproject.com/Articles/119319/Windows-Ribbon-Framework-in-Win32-C-Application) converted to PellesC project.
For Win7 or newer
This example needs MS uicc.exe too.

HelloRibbon_2.zip with IUICommandHandler too.

Some ideas and resources from here (http://www.codeproject.com/Articles/140647/How-to-Support-the-Ribbon-and-a-Menu-in-the-Same-E)
ScratchRibbon_1.zip with IUICommandHandler too.
ScratchRibbon_2.zip with IUICommandHandler and normal menu for WinXP too.
Title: Re: codeproject Win32Ribbon example with PellesC
Post by: czerny on January 20, 2014, 11:54:39 AM
I am a bit confused.
Isn't that control used with MS-Office 2007 first? Which does not need Win7 and above?

czerny
Title: Re: codeproject Win32Ribbon example with PellesC
Post by: TimoVJL on January 20, 2014, 12:18:25 PM
UIRibbon.dll look here (http://msdn.microsoft.com/en-us/library/windows/desktop/dd742706(v=vs.85).aspx)
Title: Re: codeproject Win32Ribbon example with PellesC
Post by: lingo on January 20, 2014, 02:39:08 PM
Hi timovijl,

thx for your contribution!

There is flow in switch statement of window proc of helloribbon, so the behaviour
of ribbon fails after first command click ( e.g you can't minimize it anymore).

Just a hint ;-)

Grz, lingo
Title: Re: codeproject Win32Ribbon example with PellesC
Post by: TimoVJL on January 20, 2014, 03:00:04 PM
Thanks lingo.
Fixed ?
Title: Re: codeproject Win32Ribbon example with PellesC
Post by: lingo on January 20, 2014, 03:25:03 PM
Yep!
Title: Re: codeproject Win32Ribbon example with PellesC
Post by: Persay on March 04, 2014, 10:17:49 AM
thanks for UIRibbon.dll that helped  ;D