Hi.
I have some beginner questions related to C# in general, as well as my first home assignment in C#.
When the .exe file is opened, a window pops up and asks user a question. He has 2 answer options (2 buttons). The task is - make it impossible for the user to click on either of these 2 buttons.
My plan:
1.1.) If user moves cursor on the button, it changes location. Which makes it impossible for the user to click the button by using the mouse.
Done.
1.2.) Disabling tab button which allows user to navigate between buttons in the window. I changed button properties from TRUE to FALSE in the line which enables/disables tab button.
Done.
1.3.) I want to disable arrow keys as well. This is where (probably) some actual code needs to be written.
Which one makes more sense:
* disabling keys (up,down,left,right)
* make the buttons do something else when pressed. Instead of letting the user to switch between buttons, some sort of indicator could appear in the window, saying - "Arrow keys don't work. Sorry".
1.4) Are there other ways to press the button, which I'd have to remove?
http://support.microsoft.com/kb/320584
This is what I hope to use to block arrow keys. I haven't made it to work though.
The fact that Visual Studio 2008 crashed after I installed a security update does not help either. I'm now reinstalling Visual Studio 2008, and hopefully will be able to show you my code tomorrow.
2.) Could there be any version mismatch issues, if I create programs in VS2008, and they are checked by the teacher on VS2005? The 2008 version I installed (and it stopped working later) is legal, which I got for free as a student. I figured 2008 would be a better choice, cause it's free and more up to date.
3.) Care to share a good link to some good VS tutorials? If you know some, that is. I've looked some up but... the first thing you see is not always the best one.
Thanks.