[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
GetClassName( hInst, cClassName ) -> < aInfo | nil >
------------------------------------------------------------------------------
PARAMETER:
<hInst> is the instance handle of the application that created the
class. It can be retrieved via GetInstance or
GetModuleHandle
<cClassName> is the API classname of the target class
RETURNS:
NIL, if the class is not found, or a ten element array with the following
informations about the class:
[ 1]: long, styleFlags of the window class
[ 2]: long, adress of the window procedure
[ 3]: long, size of the extra class memory
[ 4]: int, size of extra window memory
[ 5]: int, Instance handle of the class module
[ 6]: int, Handle of the class Icon
[ 7]: int, Handle of the class Cursor
[ 8]: int, Handle of the background brush
[ 9]: char, Resource name of the menu
[10]: char, Classname of the the window class
DESCRIPTION:
The GetClassInfo function retrieves information about a window class.
This function is used for creating subclasses of a given class.
EXAMPLE:
+-------------------------------------------------------------+
| /* Get the Instance Handle of the App.*/ |
| hUser := GetModuleHandle( "User.exe" ) |
| aInfo := GetClassInfo( hUser, oWnd:ClassName()) |
+-------------------------------------------------------------+
SOURCE:
SOURCE\WINAPI\WndIs.c
See Also:
CreateWindow
GetClassName
RegisterClass
GetModuleHandle
GetInstance
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson