BUG: DateTimePicker Overrides ALT+F4 Key Combination (189616)
The information in this article applies to:
- Microsoft Visual Basic Learning Edition for Windows 6.0
- Microsoft Visual Basic Professional Edition for Windows 6.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
This article was previously published under Q189616 SYMPTOMS
When a DateTimePicker (DTPicker) control has focus, the ALT+F4 key
combination does not work. If focus is moved to another control such as a
TextBox, the ALT+F4 keystroke behaves normally.
RESOLUTION
Utilizing either the KeyDown or KeyUp event of the DTPicker control, you
can manually watch for the ALT+F4 keystroke combination and take the
appropriate action, such as closing the application.
STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed
at the beginning of this article.
Modification Type: | Major | Last Reviewed: | 5/13/2003 |
---|
Keywords: | kbbug KB189616 |
---|
|