I'm a big fan of "Pure Win32 API Code". I use Windows 7 Ultimate SP1 and I'm surprised with it's Ribbon UI. Can we do that in Pure Win32 API? I don't mind complex coding... I use Code::Blocks with MinGW, installed with TDM-GCC 4.6.1_1. Please help...
Asked
Active
Viewed 3,181 times
2 Answers
5
Ribbon is available as a native control in Windows 7 and Windows Vista with Platform Upgrade installed. The API is COM-based (like many other recent API additions).
See Windows Ribbon Framework in MSDN for complete documentation.

Nikita Nemkin
- 2,780
- 22
- 23
-
Thanks for your answer Nikita Nemkin. I've visited the above link. After reading few pages I've started downloading Windows 7 SDK. I'll try those example. But I actually wanted to do all that in "Pure Win32 API" because when I write programs in "Pure Win32 API", they are standalone and don't require any DLLs until I create them. I neither have money to buy Visual Studio nor I want to use Cracks to register it. I just want to go with "Pure Win32 API". And one more thing, I don't know MFC and .Net language. – Ravika Jain Mar 12 '12 at 15:55
-
1@RavikaJain - you don't need Visual Studio to use COM. It should be possible to use it using any Windows-based compiler - MinGW included. Also note that the Win7SDK includes a compiler/linker; you only really need to buy Visual Studio if you want the editor/debugger functionality or other tool support. – BrendanMcK Mar 13 '12 at 02:41
-
But designing Ribbon UI needs XML file that contains Ribbon's Markup Code. And MinGW doesn't compile XML file. I'm a bit confused! – Ravika Jain Mar 13 '12 at 03:47
-
Can you put the XML file alongside the exe or embed it in a resource? – Deanna Mar 13 '12 at 10:56
-
Please read the docs linked above carefully. [Compilation workflow](http://msdn.microsoft.com/en-us/library/windows/desktop/dd316924(v=vs.85).aspx) is explained and even illustrated. – Nikita Nemkin Mar 13 '12 at 11:07
-
1Regarding development environment, [Visual C++ 2010 Express](http://www.microsoft.com/visualstudio/en-us/products/2010-editions/visual-cpp-express) is free. Together with Windows 7 SDK it should cover all your needs. – Nikita Nemkin Mar 13 '12 at 11:09
1
I got that working. I removed MinGW and installed Windows 7 SDK. Code::Blocks integrates well with it. Now I'm enjoying new APIs in Windows 7. Thanks everyone for your answers.

Ravika Jain
- 117
- 1
- 9