Im just messing learning about vector graphics and now i want to move my object about.
I have used the KeyDown event on the main form. Heres my problem, if i hold down two keys at the same time, it only acts like one is being pressed, the second.
How can i get it to work when two keys are pressed?
I searched and found
But ive had no luck with it.Code:private void frmMain_Load(object sender,EventArgs e) { this.KeyPreview = true; } protected override bool ProcessKeyPreview(ref System.Windows.Forms.Message m) { /* code here */ }
BTW i am using the Arrow keys to move my object.
Thanks![]()


Reply With Quote