SubVBX.exe - Subclassing VBX Controls with MFC 2.0 (103856)
The information in this article applies to:
- Microsoft Windows Software Development Kit (SDK) 3.1
This article was previously published under Q103856 SUMMARY
SubVBX.exe is a sample application that does Windows subclassing on a VBX
control using the Microsoft Foundation Class (MFC) Libraries version 2.0.
The sample subclasses the grid control, overrides the OnDlgCode() message
handler, and returns the DLGS_WANTARROWS code. Normally Windows uses the
arrow keys to move between controls in a dialog box, and does not pass the
arrow keys to the control. Subclassing the grid control and overriding the
OnDlgCode() message handler causes Windows to pass the arrow keys to the
grid control so that it can use the keys to move between cells in the
control.
Modification Type: | Minor | Last Reviewed: | 3/7/2005 |
---|
Keywords: | kbdownload kb16bitonly kbfile kbinfo kbSample KB103856 kbAudDeveloper |
---|
|