Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS General Discussion » can i drag and drop ribbon controls? Collapse All
Subject Author Date
esraa khedr Jan 28, 2010 - 5:57 AM

Dear



I have downloaded the trial version of Prof-Uis, and tried to use it but i didn’t find any of the ribbon contrrols at the toolbox. can’t i drag and drop ribbon controls to my dialog?!!



Allow me to ask another question; i tried to use a lib i have created in a ribbon project created by Prof-Uis, but there were always linking errors. (The dialog class that contains ribbon) doesn’t understand the lib. what is the problem?? How can i solve these linking errors?!





Expecting your answers


Thanks

Technical Support Jan 28, 2010 - 2:07 PM

All the Visual Studio versions support the following toolbox items for MFC dialog template resources: common controls and ActiveX controls. It’s not possible to insert custom C++ class into Visual Studio’s toolbox window. You should initialize Prof-UIS ribbon bar from code. The RibbonBar sample application can help you to do this fast. It contains the ribbon bar initialization code which is split into methods initializing ribbon button groups. You can take a look at the button groups you like and copy appropriate initialization functions into your project. Then you should change button texts, icons and/or command identifiers.
Please show us the content of Visual Studio’s Output window displaying linker errors. If you are using Prof-UIS Trial version, then you can compile only MBCS and Unicode versions of your app and use both Prof-UIS and MFC as DLL. If you are using Prof-UIS Freeware or Full/Commercial version, then you should compile required Prof-UIS libraries before compiling sample apps and your Prof-UIS based projects. The compiler output displays text with the Prof-UIS library name to be linked with project automatically. The following article describes library naming conventions and Prof-UIS configuration names:

http://www.prof-uis.com/prof-uis/tech-support/feature-articles/prof-uis-build-configurations.aspx