as far as i know, visual studio is a GUI code generator among other things, you drag a button and put it on the window, a code is written for you behind the scene.
my Question is:
what's the GUI framework Visual studio is using by default???
i know it integrates with some GUI toolkits as Fox, GTK and QT .
Strictly speaking, Visual Studio doesn't integrate with other GUI toolkits; the toolkits may integrate with VS. For instance, Qt provides integration with Visual Studio, so you can develop Qt apps from within the VS IDE.
Visual Studio itself supports development for several frameworks:
Raw Win32 (OK, not really a framework, but I thought I'd mention it for completeness; and there is a dialog editor)
MFC for C++ (crude support for GUI design)
WTL for C++ (no support for GUI design, AFAIK; it's all code)
Windows Forms for .Net
WPF for .Net
I don't know that it makes sense to speak of a default framework. Windows Forms is, I think, the most commonly used today, with WPF rising in popularity (or maybe I'm out of date).
Visual Studio 2010, itself, uses Windows Presentation Foundation for it's user interface. It can be used to create applications using any GUI framework, however, and comes with template projects for WPF, Windows Forms, and MFC (C++) for GUIs.
Related
I am currently looking for a good C++ GUI Lib for Windows and thought I will pick one where I can see how powerfull it is (I dont like qt..).
So is Visual Studio itself programmed with win32/MFC or did they createt another GUI Lib for this (and similar) purposes? If yes which did they used?
Regards
Starting from Visual Studio 2010, Visual Studio uses Windows Presentation Foundation. With some old parts remaining in Windows GDI.
Visual Studio 2012 and Office 2013 have in my opinion an amazing GUI. Are they built with some Microsoft library which is publicly accessible and usable; if so which one?
There is none. It's a custom Win32 C++ application with a ton of code.
The closest you can get without inventing your own controls is to create a Win32 application that uses the Windows Ribbon Framework. This is only officially accessible through plain Win32. The MFC and WPF versions are non-native look alikes. There is a .NET Windows Forms wrapper for the native Win32 Ribbon.
If you are after a library to duplicate the ribbon functionality in your own application you could consider using WPF and use the Fluent Ribbon Control Suite. This is almost identical to the ribbon found in Office 2010 in my opinion.
I am developing a game which would be reading real time data from Matlab. The game is being developed for Windows OS and not XBox or WIndows Phone. Is there any way , I can interface matlab with XNA. ALso can I use the usual Visual Studio 2008/2010 for developing the game rather than using Visual Studio Express for Windows Phone?
XNA is used with either C# or Visual Basic so it would, on it's own, have no way to interface with MathLab. We need to know what language you are using to better help you.
Most likely you are looking for C#.
Such interfaces are beyond me; however, to get you started there is this Question/Answer which has a link to MathLabCentral for C#:
Calling a MATLAB function from C#
For the second part of question:
If by "usual" Visual Studio you mean the paid version then the 2010 version will work.
Again, without knowing which version of XNA you plan on using there could be multiple possible answers. XNA 3.1 and older will work with 2008.
You can also use Visual C# 2010 Express if C# is your target language. Don't know.
XNA friendly IDE's
I've been given the task of developing some extensions for Visual Studio for our internal use. These will have to support a couple of different versions of Visual Studio (VS2008, 2010 and 2012 - VS2005 would be a nice to have but not essential). I'd like to develop these in as consistent a way as possible, reusing as much of the code as possible, while fitting it into the existing project structure for these kinds of tools, which is a Visual Studio 2012 .sln.
What's the best / easiest way of developing this kind of extension? A VSPackage project? Can I make a 2008-compatible VSPackage which is developed in VS2012?
The features I will need for the extensions I'm writing at the moment are pretty basic - I need to create Tools menu commands, possibly a custom toolwindow. My requirements might change later on but I don't need editor adornments or anything like that at the moment.
I saw this question which might seem to be a duplicate, but the answer which was accepted doesn't answer the question, so...
It really depends on what is your extension going to do.
VS2008 does not support extensions (.vsix) and you will need to write VSPackage deployed as msi for it. You also won't have access to many new features introduced in VS2010 (easier editor integration and access to vs services via MEF), but basic stuff such as manipulating solution/project/files should be fine and work on all versions (e.g. using DTE should be ok).
As far as I remember for VS2008 you will also need to obtain a PLK, which is no longer required for 2010 and 2012.
I haven't tried developing 2008 package in VS2012, but you definitely can develop 2010 extension in 2012.
Also remember that VS2008 is .Net 3.5, so your code should use .net 3.5 and version of c# which it supports to be portable.
How can I get toolbox in Visual Studio Shell when I am working with F#? Currently I have installed F# with Visual Studio integrated mode. I want to design GUI forms with toolbox.
I don't think there is a GUI designer for F#, especially considering the discussion in this thread. But there are some tricky ways to make use of the GUI designer for C# as this article shows.