M
M
Maxim Tkachuk2012-02-16 14:31:42
C++ / C#
Maxim Tkachuk, 2012-02-16 14:31:42

How to implement InputBox in Visual C++?

The point is this: I am writing a course project on programming in Visual C ++, I have never worked with it before. And in the middle of development, I came across the fact that I need an inputbox so that the user enters a value, but there is no native one. What is the best way to implement this in Visual Studio 2010?
PS: I know almost nothing in Visual studio and Visual C++, please describe in detail how to do it.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
Z
Zlobober, 2012-02-16
@makzimko

stackoverflow.com/questions/97097/what-is-the-c-sharp-version-of-vb-nets-inputdialog
The easiest option for you is a crutch as mentioned here. Here it is proposed to use the VB function Microsoft.VisualBasic.Interaction.InputBox(...), which implements the functionality you need.
Naturally, everything that is said in the context of C # in this question easily correlates with what you need for C ++.

B
bagyr, 2012-02-16
@bagyr

www.codeproject.com/Articles/2428/InputBox-using-WinAPI e.g.
Google MFC, WinApi, Qt, win32 c++ gui framework and more.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question