How To Get a Window's Class Name and Other Window Attributes (112649)
The information in this article applies to:
- Microsoft Visual Basic Learning Edition for Windows 5.0
- Microsoft Visual Basic Professional Edition for Windows 5.0
- Microsoft Visual Basic Enterprise Edition for Windows 5.0
- Microsoft Visual Basic Standard Edition, 32-bit, for Windows 4.0
- Microsoft Visual Basic Professional Edition, 16-bit, for Windows 4.0
- Microsoft Visual Basic Professional Edition, 32-bit, for Windows 4.0
- Microsoft Visual Basic Enterprise Edition, 16-bit, for Windows 4.0
- Microsoft Visual Basic Enterprise Edition, 32-bit, for Windows 4.0
- Microsoft Visual Basic Standard Edition for Windows 3.0
- Microsoft Visual Basic Professional Edition for Windows 3.0
This article was previously published under Q112649 SUMMARY
You could use SPY.EXE, which comes with Microsoft Visual C/C++, to get
information such as a window's class name. However, this article shows by
example how you can create your own Visual Basic application that does the
same thing; displays a window's class name along with several other
attributes. For example, you might need a window's class name for use in a
function in the Microsoft Windows Application Programming Interface
(Windows API).
REFERENCES- Microsoft Windows Software Development Kit (SDK)
- Microsoft Visual Basic for Windows SDK Help file
Modification Type: | Minor | Last Reviewed: | 7/1/2004 |
---|
Keywords: | kbhowto kbui kbWndw KB112649 |
---|
|