I'm using the Windows Ribbon Framework in an unmanaged C++ application in Visual Studio. Is it possible to add a button or other control at runtime? I can set up my ribbon using IUIFramework::LoadUI, but I can't modify it afterwards.
Modifying a ribbon control at runtime
1.9k Views Asked by sw. At
2
There are 2 best solutions below
0
Alain Rist
On
It is not possible to add or remove a button at runtime, but you may hide or show a Tab or Group at run time using Application Modes and you can set any button texts and images at runtime.
So you can declare and use multi-purpose buttons that will show only when a specific Application Mode is set and contain runtime defined texts and images.
Related Questions in C++
- C++ using std::vector across boundaries
- Linked list without struct
- Connecting Signal QML to C++ (Qt5)
- how to get the reference of struct soap inherited in C++ Proxy/Service class
- Why we can't assign value to pointer
- Conversion of objects in c++
- shared_ptr: "is not a type" error
- C++ template using pointer and non pointer arguments in a QVector
- C++ SFML 2.2 vectors
- Lifetime of temporary objects
- I want to be able to use 4 different variables in a select statement in c ++
- segmentation fault: 11, extracting data in vector
- How to catch delay-import dll errors (missing dll or symbol) in MinGW(-w64)?
- How can I print all the values in this linked list inside a hash table?
- Configured TTL for A record(s) backing CNAME records
Related Questions in CONTROLS
- Standard control transparency. Possible?
- Save the state of a dynamic windows form application C#
- Winforms control for displaying html text
- Android control music with headset buttons in a service
- Silverlight Nested Custom Controls results in StackOverflowException
- Git shortlog exclude comments starting with string
- How to choose a word of more than 5 letters?
- Problems with control flow structures using strings
- How can I edit properties of multiple objects in a relatively shorter way?
- C# Vlc ActiveX Play rtsp stream
- Trying to delete the selected item in the XPages repeat control, but does not work
- OpenLayers3 : Draggable OverviewMapControl
- I created code for controlling a image in swing, but I can't see anything, why?
- Add controls dynamically from another class C#
- Controls randomly not showing in my VB6 software
Related Questions in RUNTIME
- Get height for RecyclerView child views at runtime
- Memory allocation of local variables within nested {}
- Runtime set property from a string
- Scala: binding time
- What is a runtime environment for supposedly "no-overhead" systems languages?
- iOS 7 runtime headers method invoke
- VBA Run-time error '13'
- Runtime.getRuntime().exec(__);
- how to start tomcat service as administrator
- Runtime Error Message Java
- How to change the delay of sleep/timer thread in android during runtime?
- How to prevent shutdown hook from getting deadlock?
- design application that can create instances of class while running
- Runtime.getRuntime.exec("color 0a") not working?
- Spring factory method
Related Questions in RIBBON
- Where is the 'EnablePinning' property in the ribbon framework's recent items?
- Excel 2010 Ribbon Calling Macros
- change the Label of a button in ribbon word add in
- How do you access Ribbon controls (eg. RibbonEditBox) from outside class?
- Windows Aero removes Title bar buttons in RibbonWindow
- Windows Ribbon Framework: Load resource strings from different file
- setSeparator doesnt work for the QAction in qtitanribbon
- Modify a button label in dynamics crm
- SetParent API under Windows-8 changes font size of application menu and ribbon
- Ribbon workbench - error when trying to change a button label
- Webbrowser on Excel Ribbon?
- Converting Visual Studio 2008 project to Visual Studio 2013
- Create Ribbon for OneNote 2013 32bit and 64bit
- How do i get the active ribbon tab name?
- WPF remove vertical line between the ribbongroups
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
You can switch modes at runtime depending on what is defined in the markup - see here for details:
There is a comment here to the effect that changes at runtime are quite limited - this is in regard to a third-party wrapper, note.