Hey,
Sorry it took me so long to reply...
I tried out that code and couldn't get it to work. I was able to substitute VK_LEFT for 37, etc., and it seems to work fine. And to answer your last question...the overall project is to create a windows based command console for a remote control...
I actually tried that before. I could get it to work with the function keys and the SPACE bar, but not with the arrows or with keys like the TAB key. I ended up getting the arrow keys working with this:
LRESULT CAlphaDlg::DefWindowProc(UINT message, WPARAM wParam, LPARAM lParam)
{...
Thanks for the info. I've seen some examples like this before, but I'm not real sure exactly how to implement it. Most of the examples are not windows dialog based. I am still trying to learn how to use MS Visual C++ 6. Where exactly do I need to place my code to get it to work. Each MSVC 6...
I am finally up and running on MS Visual C++ 6. I have already noticed several differences. Do you know what the difference is between Visual C++ and the .NET Framework? Anyway, I have tried to handle the WM_KEYDOWN message. When I was using Visual C++ 2005 Beta, there was an OnKeyPress...
You rock like KISS in the 70's. Unfortunately, I won't be able to try it out for a couple of days. Do you happen know where I can download windows.h and winuser.h? I haven't been able to find them anywhere. Thanks and I'll let you know how it goes.
I am currently using Microsoft Visual C++ 2005 Express Edition Beta 2. I downloaded the trial version that expires in a few days. I plan on getting Microsoft Visual C++ 6. Back when I first learned to program in college, all we did was use a text editor and used a command line compiler. I am...
Hi,
I'll try to keep this short:
1) Have Comp Sci degree (haven't programmed in about 10 years)
2) Somewhat familiar with C and C++ (currently trying to relearn it)
3) Trying to help a buddy with a project and I am stuck
Here is the problem:
I need a window console that will capture the...
I have a requirement to run Apache directly from a CDR and have had no luck doing so.The problem I've run into is Apache must be able to write a process identification number to the httpd.pid file under the logs directory.I tried hard coding the httpd.pid file, which Apache does not like.I...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.