How To Add Keyboard Functionality to MDI form Scrollbars (244312)
The information in this article applies to:
- Microsoft Visual Basic Learning Edition for Windows 5.0
- Microsoft Visual Basic Learning Edition for Windows 6.0
- Microsoft Visual Basic Professional Edition for Windows 5.0
- Microsoft Visual Basic Professional Edition for Windows 6.0
- Microsoft Visual Basic Enterprise Edition for Windows 5.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
This article was previously published under Q244312 SUMMARY
An MDI form displays scrollbars when a portion of an MDI child form is moved out of the view of the client area of the MDI parent form. In Visual Basic these scrollbars support mouse clicks but not the keyboard navigation keys. This article shows how to add keyboard support to these scrollbars. The MDIForm can also be made to scroll to the bottom automatically when it loads so that hidden forms are visible. This functionality is added by sending messages to the MDIForm window.
REFERENCESFor additional information on accelerator keys and ScrollBars in MDI applications, click the article number below
to view the article in the Microsoft Knowledge Base:
192183 PRB: Accelerator Keys Fail to Work in MDI Child Forms
Modification Type: | Minor | Last Reviewed: | 6/29/2004 |
---|
Keywords: | kbAcceleratorKey kbAPI kbCtrl kbHook kbhowto kbKeyAccel kbScrollBar KB244312 |
---|
|