We ported our program to use MFC Feature Pack. The problem is that the menu bar is not visible when Windows XP is used. (With Windows 7 it works.) This seems to be a known problem and a codeproject article recommends using CMFCMenuBar. But we don't like that option because we have a custom menu with lots of custom program code.
Is there are way to show the "classic" menu under XP?
Related
Easy question: I'm new to Linux Desktop Application Development coming from a Microsoft Windows and Visual Studio Desktop Application Development background and am trying to make a basic GUI application in Monodevelop C# that has what's called a Tab Control in Visual Studio. I can't for the life of me though find an equivalent control in Monodevelop under either Containers or Widgets in the Toolbox and Google has been no help. Am I missing something obvious or is a Tab Control an outdated object, design wise, and has been replaced with something else? Thanks in advance!
I'd like to know how to create a program interface like the one used in Visual Studio, Office 2013, GitHub for Windows, etc.
Looks like Cosmopolitan Theme for WPF is not the same theme used on those softwares.
To show you the difference between these programs interfaces and common others take a look at those printscreens:
Interfaces I wanna know how to build:
Visual Studio:
Office 2013 (Excel):
GitHub for Windows:
Common Interface:
The difference between these programs is its interfaces. I already downloaded the Visual Studio Express for Windows 8, Visual Studio Express for Windows Desktop and I also looked at Visual Studio Ultimate, but them doesn't have the option the build such kind of interfaces when you create a "New Project...".
Do I need to install a new Template on my VS to be able to build such kind of interface? I think it's some sort of theme for WPF. I'd like to see proves that those applications use this UI style you refer in your answer.
Thanks.
Please note that the look and feel of the application is based on the operating system theme by default.
Your Interfaces have been designed following the Metro UI style. Metro UI apps are Windows 8 only, as they require WinRT.
You can only simulate the Metro style in Windows 7 (and vista) with WPF : you have to use a third party controls (or develop your own), such as these examples :
Modern UI for WPF
MahApps.Metro
Cosmopolitan is just a theme for common controls. For example, there are no pivot or panorama control.
Visual Studio 2012 and GitHub for Windows are WPF applications. Office uses custom controls for the "Metro" look.
WPF and Silverlight provide an easy way to theme an entire application. GitHub is based on the Silverlight theme "Cosmopolitan".
Here are some links for more information.
Cosmopolitan Theme for WPF
Making your WPF app look like the Zune client
Silverlight 4 Application Themes
Mishra Reader (An active open source WPF client with a similar theme)
Office 2013 uses Metro Style and Ribbons. For this you can use Fluent Control Suite. This project also has a Metro Style where you can easily make it like Office 2013. Note that you maybe need the recent dll instead of e.g. the nuget package.
If you want some icons like Office 2013, here i found an icon pack that is close to the Office icons: Axialis Pure Flat 2013 (with costs).
For others without Ribbons, you can use for example MahApps Metro as Cybermaxs suggested and for the docks you can use AvalonDock from the WPF Toolkit. AvalonDock also has a Metro Style. And a Visual Studio 2010 Style. And you can dock your Windows like in Visual Studio, very useful ;)
Hi there I have installed the krypton toolkit which makes your program look a lot more disgner friendly.
Heres my problem.
I can't use the toolkit i try looking through all of the options but no answer and i look on the internet no answer how can i use the toolkit on vs 2012 because i know it used to work on vs 2010
The Krypton Toolkit works fine in Visual Studio 2012.
You might have to manually add the controls to your toolbox in order to use them in the way you are accustomed to.
Show the toolbox by clicking on the 'VIEW' menu, and then the 'Toolbox' menu item.
Right-click on the toolbox, and click 'Choose items'.
Click the 'Browse' button, and navigate to the Krypton directory. This is usually C:\Program Files\Component Factory\Krypton Toolkit x.y.z\Bin\ where x.y.z is your installed Krypton version. It will be in Program Files (x86) if you are running 64-bit windows.
Select the ComponentFactory.Krypton.Toolkit.dll file (and, optionally, the other Krypton files: ComponentFactory.Krypton.Navigator.dll, ComponentFactory.Krypton.Workspace.dll, ComponentFactory.Krypton.Docking.dll, and ComponentFactory.Krypton.Ribbon.dll).
Click the 'Open' button.
Your toolbox will now be populated with the Krypton controls, and you can use them just as you did with the previous Visual Studio versions.
That's got it. Thanks.
Once OPEN you'll notice them under the name Krypton .... in the "All Windows Forms" toolbox listing.
You also need to browse for it in the menu>Project >> Add Reference and then navigate to the same dll at C:\Program Files\Component Factory\Krypton Toolkit 4.4.0\Bin\ (current version at Mar 2013).
Now you'll be able to declare "using ComponentFactory.Krypton.Toolkit;"
Around 37 controls should appear now in the design screen.
In blend 4 i often open a resource dictionary (i.e. "Generic.xaml") by clicking the "resources" tab (next to the property tab on the right pane), navigate to a resource and click on its icon to edit it in the designer.
In blend for visual studio 2012 i can't seem to find the resources tab? How am i then able to edit resources in resource dictionaries?
As of VS2012 Update 2+ we can once again create desktop WPF apps so the Resource tab returns.
"In addition, Visual Studio 2012 Update 2 and later adds support for Silverlight and WPF editing, as well as SketchFlow. Developers can now leverage a consolidated tool for all the platforms as part of a fully integrated solution with Visual Studio." (1)
(1) "Microsoft Expression Changes", http://www.microsoft.com/expression/eng/, retrieved 2013-9-20
I'm assuming this is a XAML project. Is the Window open? Main toolbar -> Window -> Resources... is that checked? If not, check that.
I'm test-driving Visual Studio 11 beta and it appears I've hit a major snag.
Has anyone tried opening an actual production WPF project that contains WPF windows with User Controls? When I try to open a WPF Window or control that contains user controls, the design view displays a nice error message:
"Design view is unavailable for x64 and ARM target platforms because the document contains custom elements."
It appears to be a major wtf... since most developer machines these days are x64.
* UPDATE: *
Reproduced this in a new VS 2011 WPF project:
Add a xaml resourec file with styles (in the same project as the user control)
Reference this file in a user control using the tag
Immediately, the "Design view is unavailable for x64 and ARM target platforms..." pops up.
As soon as I remove the resource reference, the designer starts working again.
The "x64 or ARM" in the message refers to the current target configuration of the project, not to the machine on which Visual Studio is running. That is, if you change the target platform configuration of the project to x86 or Any CPU, you should not get this message.
You can change the target platform from the Standard Toolbar (select the "Add or Remove Buttons" item at the end of the toolbar, and select "Solution Platforms").
If your solution platform is x86 or Any CPU, please add a comment to this post and let me know. I'd be interested in investigating.
I resolved this by doing the following in Visual Studio:
Select the solution node within Solution Explorer.
Within the Properties pane, set "Active config" to an x86 processor type.
Display Properties for application project.
Select the Build tab on the navigation pane.
Ensure "Platform target" is set to x86.
After completing these steps:
Restart Expression Blend.
Observe the designer is now loaded with UI