Creating GUI on existing in VC++ 2010 project
-
Hi guys!, I'm developing an application using a library in VC++ 2010. I don't have previous experience in GUI programming. So I'm wondering how to begin with on my existing project. It's an tracking experiment where I need to set various parameters initially for the specific task in GUI. Once I set all parameters, GUI have to create a file containing all those parameters and have to pass to the project. It would be of great help if you could give feedback, Thanks!
-
Hi guys!, I'm developing an application using a library in VC++ 2010. I don't have previous experience in GUI programming. So I'm wondering how to begin with on my existing project. It's an tracking experiment where I need to set various parameters initially for the specific task in GUI. Once I set all parameters, GUI have to create a file containing all those parameters and have to pass to the project. It would be of great help if you could give feedback, Thanks!
I am not sure exactly what feedback you are expecting, as it really depends on what sort of GUI you wish to present to the user. Setting parameters could be anything from simple text input, drop down list or combo, slider, up/down control etc., all of which can be accomplished by using the various Windows Controls[^]. I would suggest looking at some of the sample articles here on CodeProject[^] to get some ideas about how other people have approached similar issues. You could also add some more detail to your question which would help us make more suggestions.
-
I am not sure exactly what feedback you are expecting, as it really depends on what sort of GUI you wish to present to the user. Setting parameters could be anything from simple text input, drop down list or combo, slider, up/down control etc., all of which can be accomplished by using the various Windows Controls[^]. I would suggest looking at some of the sample articles here on CodeProject[^] to get some ideas about how other people have approached similar issues. You could also add some more detail to your question which would help us make more suggestions.
Thank you! Sorry about my poor explanation!, The working on a project which is windows console application. But as per my understanding, GUI can be only done in 'Windows Forms Applications'. Will it be possible to change console applications to windows forms application, where I can find all tools for creating GUI??
-
Thank you! Sorry about my poor explanation!, The working on a project which is windows console application. But as per my understanding, GUI can be only done in 'Windows Forms Applications'. Will it be possible to change console applications to windows forms application, where I can find all tools for creating GUI??
Windows Forms applications use C++/CLI or C#. But you can create a Win32/MFC Windows application using the standard Windows controls. Since you already (I assume) have most of the code in your console app, converting it to Windows should not be too difficult (depending on your skill level), although the initial learning does take some time. You can create a basic Windows application from the template supplied with Visual Studio, so it is worth starting with that to see how it is put together.
-
Windows Forms applications use C++/CLI or C#. But you can create a Win32/MFC Windows application using the standard Windows controls. Since you already (I assume) have most of the code in your console app, converting it to Windows should not be too difficult (depending on your skill level), although the initial learning does take some time. You can create a basic Windows application from the template supplied with Visual Studio, so it is worth starting with that to see how it is put together.
Thank you!. I have been trying to convert my console application to windows form application. While running I'm getting an error, following is the part of my main function..
int main(array ^args)
{Application::EnableVisualStyles();
Application::SetCompatibleTextRenderingDefault(false);char fname\[30\]; char fpath\[100\]; // file name for logging char fpath1\[100\]; // file name for logging //disable force field for first half of trial for(int i=0;i
This was the error. I tried changing 'main' as 'WinMain' but it's not preceeding
error LNK2019: unresolved external symbol _WinMain@16 referenced in function ___tmainCRTStartup
any suggestion greatly appreciated.
-
Thank you!. I have been trying to convert my console application to windows form application. While running I'm getting an error, following is the part of my main function..
int main(array ^args)
{Application::EnableVisualStyles();
Application::SetCompatibleTextRenderingDefault(false);char fname\[30\]; char fpath\[100\]; // file name for logging char fpath1\[100\]; // file name for logging //disable force field for first half of trial for(int i=0;i
This was the error. I tried changing 'main' as 'WinMain' but it's not preceeding
error LNK2019: unresolved external symbol _WinMain@16 referenced in function ___tmainCRTStartup
any suggestion greatly appreciated.