Thanks for your help
6 Replies - 3133 Views - Last Post: 14 July 2010 - 04:49 AM
#1
how to progam keyboard input in windows form application in c++?
Posted 14 July 2010 - 03:00 AM
hi guys i am wondering how to input with the keyboard, is there a way how to do it? i have looked up on the msdn.com which didnt help that much.
Thanks for your help
Thanks for your help
Replies To: how to progam keyboard input in windows form application in c++?
#2
Re: how to progam keyboard input in windows form application in c++?
Posted 14 July 2010 - 03:06 AM
You can process keyboard messages with WM_KEYDOWN
But dream in code has a policy in which you have to post code to get help.
But dream in code has a policy in which you have to post code to get help.
#3
Re: how to progam keyboard input in windows form application in c++?
Posted 14 July 2010 - 03:08 AM
If this is a console application, I would suggest reading from the standard input stream.
#4
Re: how to progam keyboard input in windows form application in c++?
Posted 14 July 2010 - 04:13 AM
snoopy i meant if there is a using namespace for it and i am making a windows form application and they show only example for c# and the namespace for the keyboard input is only in c#
i only need to know the using namespace for keyboard input in c++
i only need to know the using namespace for keyboard input in c++
#5
Re: how to progam keyboard input in windows form application in c++?
Posted 14 July 2010 - 04:20 AM
Windows Forms is .NET only. You cannot be using pure C++ and any .NET based API, so Windows Forms is out of the question.
Thus, either use C#, or don't use Windows Forms...
Thus, either use C#, or don't use Windows Forms...
#6
Re: how to progam keyboard input in windows form application in c++?
Posted 14 July 2010 - 04:28 AM
Or learn/use C++/CLI, but it has some small syntax changes.
In VS, you've to create a Windows Forms Application from Visual C++ >> CLR.
In VS, you've to create a Windows Forms Application from Visual C++ >> CLR.
#7
Re: how to progam keyboard input in windows form application in c++?
Posted 14 July 2010 - 04:49 AM
yes i am using VS c++
Page 1 of 1
|
|

New Topic/Question
Reply




MultiQuote





|