I wanted to integrate to an old program of mine that deals with photos a proper GUI.
My code is in C++ and the window to have the photo appear was HWND.
Now I was wondering whether to use Winforms or any other sort of GUI!
case WM_CREATE: { CreateWindow(TEXT("button"), TEXT("Button1"), WS_VISIBLE | WS_CHILD , 20, 50, 80, 25, hwnd, (HMENU) 1, NULL, NULL); CreateWindow(TEXT("button"), TEXT("Button2"), WS_VISIBLE | WS_CHILD , 120, 50, 80, 25, hwnd, (HMENU) 2, NULL, NULL); break; }Quote:
Original post by SeaBourne
WinForms is only for C# and not C++.
Quote:
Original post by EJH Quote:
Original post by SeaBourne
WinForms is only for C# and not C++.
Have you informed Microsoft? They have all these tutorials about creating Windows Forms in C++:
http://msdn.microsoft.com/en-us/library/ms235634(v=VS.100).aspx
Just kidding with you, I guess that is a common misconception. =)
But seriously, to the OP: Windows Forms is quite fast to develop in, theres a ton of great tutorials out there, and it is all integrated into Visual Studio.
Quote:
Original post by SeaBourne Quote:
Original post by EJH Quote:
Original post by SeaBourne
WinForms is only for C# and not C++.
Have you informed Microsoft? They have all these tutorials about creating Windows Forms in C++:
http://msdn.microsoft.com/en-us/library/ms235634(v=VS.100).aspx
Just kidding with you, I guess that is a common misconception. =)
But seriously, to the OP: Windows Forms is quite fast to develop in, theres a ton of great tutorials out there, and it is all integrated into Visual Studio.
That is C++/CLR not native C++. There is a difference ;) *coughs*C++/CLR is a pita*coughs*
Quote:
Original post by Christopher Loyd Quote:
Original post by SeaBourne Quote:
Original post by EJH Quote:
Original post by SeaBourne
WinForms is only for C# and not C++.
Have you informed Microsoft? They have all these tutorials about creating Windows Forms in C++:
http://msdn.microsoft.com/en-us/library/ms235634(v=VS.100).aspx
Just kidding with you, I guess that is a common misconception. =)
But seriously, to the OP: Windows Forms is quite fast to develop in, theres a ton of great tutorials out there, and it is all integrated into Visual Studio.
That is C++/CLR not native C++. There is a difference ;) *coughs*C++/CLR is a pita*coughs*
Unless the program is heavily performance dependent, using C++/CLR is a great way to take native code and apply it to a modern graphical interface. Sure, you take a hit in performance, but his program doesn't sound like it's too performance intensive and the process is simplistic to do so.
This topic has been locked by a moderator. New replies are not allowed.
With your permission, GameDev.net uses analytics cookies to understand how people use the platform. You can accept analytics or continue with necessary cookies only. Learn more