By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
460,035 Members | 944 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 460,035 IT Pros & Developers. It's quick & easy.

VB.NET - Detecting control key in form.resize event

P: 28
I am trying to detect whether or not the control key is pressed whilsr resizing a form by dragging the right side or bottom of the form with the mouse.

The purpose is to exit the resize event if the CTRL key is pressed so that code in the event is not executed.

I have tried form.keydown to set a boolean if the CTRL key is pressed but that doesn't work.

I can't find a mouse event that detects a "qualifier" key.

Can anyone offer me some help, please?
Apr 17 '10 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.