Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

Win32WndClass Class Reference

#include <win32class.h>

Inheritance diagram for Win32WndClass:

Inheritance graph
[legend]
Collaboration diagram for Win32WndClass:

Collaboration graph
[legend]
List of all members.

Public Methods

 Win32WndClass (WNDCLASSEXA *wndclass, BOOL fUnicode=FALSE)
 ~Win32WndClass ()
ULONG getClassLongA (int index, BOOL fUnicode=FALSE)
ULONG getClassLongW (int index)
WORD getClassWord (int index)
ULONG setClassLongA (int index, LONG lNewVal, BOOL fUnicode=FALSE)
ULONG setClassLongW (int index, LONG lNewVal)
WORD setClassWord (int index, WORD wNewVal)
ATOM getAtom ()
BOOL getClassInfo (WNDCLASSEXA *wndclass)
BOOL getClassInfo (WNDCLASSEXW *wndclass)
ULONG getClassName (LPSTR lpszClassName, ULONG cchClassName)
ULONG getClassName (LPWSTR lpszClassName, ULONG cchClassName)
WNDPROC getWindowProc ()
LPSTR getMenuNameA ()
DWORD getExtraWndBytes ()
HICON getIcon ()
HICON getIconSm ()
HCURSOR getCursor ()
HINSTANCE getInstance ()
HBRUSH getBackgroundBrush ()
ULONG getStyle ()
HDC getClassDC ()
void setMenuName (LPSTR newMenuName)
BOOL hasClassName (LPSTR classname, BOOL fUnicode=FALSE)
BOOL isAppClass (ULONG curProcessId)

Static Public Methods

BOOL UnregisterClassA (HINSTANCE hinst, LPSTR id)
Win32WndClass * FindClass (HINSTANCE hinst, LPSTR id)
Win32WndClass * FindClass (HINSTANCE hinst, LPWSTR id)
void DestroyAll ()

Private Attributes

BOOL isUnicode
ULONG windowStyle
ULONG nrExtraClassBytes
ULONG nrExtraWindowBytes
HBRUSH backgroundBrush
HCURSOR hCursor
HICON hIcon
HINSTANCE hInstance
PCHAR menuNameA
WCHAR * menuNameW
WNDPROC windowProc
ULONG classAtom
PCHAR classNameA
WCHAR * classNameW
HICON hIconSm
HDC hdcClass
char * userClassBytes
ULONG processId

Static Private Attributes

GenericObjectwndclasses = NULL
CRITICAL_SECTION critsect = {0}

Constructor & Destructor Documentation

Win32WndClass::Win32WndClass WNDCLASSEXA *    wndclass,
BOOL    fUnicode = FALSE
 

Definition at line 42 of file win32class.cpp.

Win32WndClass::~Win32WndClass  
 

Definition at line 147 of file win32class.cpp.


Member Function Documentation

ULONG Win32WndClass::getClassLongA int    index,
BOOL    fUnicode = FALSE
 

Definition at line 389 of file win32class.cpp.

Referenced by getClassInfo(), and getClassLongW().

ULONG Win32WndClass::getClassLongW int    index [inline]
 

Definition at line 24 of file win32class.h.

WORD Win32WndClass::getClassWord int    index
 

Definition at line 431 of file win32class.cpp.

ULONG Win32WndClass::setClassLongA int    index,
LONG    lNewVal,
BOOL    fUnicode = FALSE
 

Definition at line 453 of file win32class.cpp.

Referenced by setClassLongW().

ULONG Win32WndClass::setClassLongW int    index,
LONG    lNewVal
[inline]
 

Definition at line 31 of file win32class.h.

WORD Win32WndClass::setClassWord int    index,
WORD    wNewVal
 

Definition at line 528 of file win32class.cpp.

ATOM Win32WndClass::getAtom   [inline]
 

Definition at line 37 of file win32class.h.

Referenced by RegisterClassA(), RegisterClassExA(), RegisterClassExW(), and RegisterClassW().

BOOL Win32WndClass::getClassInfo WNDCLASSEXA *    wndclass
 

Definition at line 293 of file win32class.cpp.

Referenced by GetClassInfoA(), GetClassInfoExA(), GetClassInfoExW(), and GetClassInfoW().

BOOL Win32WndClass::getClassInfo WNDCLASSEXW *    wndclass
 

Definition at line 310 of file win32class.cpp.

ULONG Win32WndClass::getClassName LPSTR    lpszClassName,
ULONG    cchClassName
 

Definition at line 327 of file win32class.cpp.

ULONG Win32WndClass::getClassName LPWSTR    lpszClassName,
ULONG    cchClassName
 

Definition at line 338 of file win32class.cpp.

WNDPROC Win32WndClass::getWindowProc   [inline]
 

Definition at line 44 of file win32class.h.

LPSTR Win32WndClass::getMenuNameA   [inline]
 

Definition at line 45 of file win32class.h.

DWORD Win32WndClass::getExtraWndBytes   [inline]
 

Definition at line 46 of file win32class.h.

HICON Win32WndClass::getIcon   [inline]
 

Definition at line 48 of file win32class.h.

HICON Win32WndClass::getIconSm   [inline]
 

Definition at line 49 of file win32class.h.

HCURSOR Win32WndClass::getCursor   [inline]
 

Definition at line 50 of file win32class.h.

HINSTANCE Win32WndClass::getInstance   [inline]
 

Definition at line 52 of file win32class.h.

HBRUSH Win32WndClass::getBackgroundBrush   [inline]
 

Definition at line 54 of file win32class.h.

ULONG Win32WndClass::getStyle   [inline]
 

Definition at line 55 of file win32class.h.

HDC Win32WndClass::getClassDC   [inline]
 

Definition at line 57 of file win32class.h.

void Win32WndClass::setMenuName LPSTR    newMenuName
 

Definition at line 351 of file win32class.cpp.

Referenced by Win32WndClass(), and setClassLongA().

BOOL Win32WndClass::hasClassName LPSTR    classname,
BOOL    fUnicode = FALSE
 

Definition at line 178 of file win32class.cpp.

BOOL Win32WndClass::isAppClass ULONG    curProcessId
 

Definition at line 284 of file win32class.cpp.

BOOL Win32WndClass::UnregisterClassA HINSTANCE    hinst,
LPSTR    id
[static]
 

Definition at line 556 of file win32class.cpp.

Referenced by UnregisterClassA(), and UnregisterClassW().

Win32WndClass * Win32WndClass::FindClass HINSTANCE    hInstance,
LPSTR    id
[static]
 

Definition at line 198 of file win32class.cpp.

Referenced by FindClass(), GetClassInfoA(), GetClassInfoExA(), GetClassInfoExW(), GetClassInfoW(), RegisterClassA(), RegisterClassExA(), RegisterClassExW(), RegisterClassW(), and UnregisterClassA().

Win32WndClass * Win32WndClass::FindClass HINSTANCE    hInstance,
LPWSTR    id
[static]
 

Definition at line 262 of file win32class.cpp.

void Win32WndClass::DestroyAll   [static]
 

Definition at line 171 of file win32class.cpp.

Referenced by cleanupUser32().


Member Data Documentation

BOOL Win32WndClass::isUnicode [private]
 

Definition at line 75 of file win32class.h.

ULONG Win32WndClass::windowStyle [private]
 

Definition at line 78 of file win32class.h.

ULONG Win32WndClass::nrExtraClassBytes [private]
 

Definition at line 79 of file win32class.h.

ULONG Win32WndClass::nrExtraWindowBytes [private]
 

Definition at line 80 of file win32class.h.

HBRUSH Win32WndClass::backgroundBrush [private]
 

Definition at line 81 of file win32class.h.

HCURSOR Win32WndClass::hCursor [private]
 

Definition at line 82 of file win32class.h.

Referenced by getClassInfo().

HICON Win32WndClass::hIcon [private]
 

Definition at line 83 of file win32class.h.

Referenced by getClassInfo().

HINSTANCE Win32WndClass::hInstance [private]
 

Definition at line 84 of file win32class.h.

Referenced by FindClass(), and getClassInfo().

PCHAR Win32WndClass::menuNameA [private]
 

Definition at line 85 of file win32class.h.

WCHAR* Win32WndClass::menuNameW [private]
 

Definition at line 86 of file win32class.h.

WNDPROC Win32WndClass::windowProc [private]
 

Definition at line 87 of file win32class.h.

ULONG Win32WndClass::classAtom [private]
 

Definition at line 88 of file win32class.h.

Referenced by FindClass().

PCHAR Win32WndClass::classNameA [private]
 

Definition at line 90 of file win32class.h.

Referenced by FindClass().

WCHAR* Win32WndClass::classNameW [private]
 

Definition at line 91 of file win32class.h.

HICON Win32WndClass::hIconSm [private]
 

Definition at line 92 of file win32class.h.

Referenced by getClassInfo().

HDC Win32WndClass::hdcClass [private]
 

Definition at line 93 of file win32class.h.

char* Win32WndClass::userClassBytes [private]
 

Definition at line 96 of file win32class.h.

ULONG Win32WndClass::processId [private]
 

Definition at line 97 of file win32class.h.

GenericObject * Win32WndClass::wndclasses = NULL [static, private]
 

Definition at line 586 of file win32class.cpp.

CRITICAL_SECTION Win32WndClass::critsect = {0} [static, private]
 

Definition at line 587 of file win32class.cpp.


The documentation for this class was generated from the following files:
Generated on Wed Jan 23 23:23:10 2002 for ODIN-user32 by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001