OWLNext    7.0
Borland's Object Windows Library for the modern age
Loading...
Searching...
No Matches
owl::TWindowClassName Class Reference

Type-safe encapsulation of a Windows class name, a union between ATOM and LPCTSTR. More...

#include <owl/module.h>

Public Member Functions

 TWindowClassName (ATOM a)
 
 TWindowClassName (LPCTSTR s)
 
auto GetPointerRepresentation () const -> LPCTSTR
 
auto IsString () const -> bool
 
auto IsAtom () const -> bool
 
auto GetString () const -> tstring
 Returns the class name in string form.
 
auto GetAtom () const -> ATOM
 

Detailed Description

Type-safe encapsulation of a Windows class name, a union between ATOM and LPCTSTR.

In Windows a registered window class name is represented by an LPCTSTR pointer, which may actually contain an atom, an integer key stored in the lower 16 bits of the LPCTSTR. http://msdn.microsoft.com/en-us/library/windows/desktop/ms633576.aspx

See also
TModule::GetClassInfo, TWindow::GetWindowClassName

Definition at line 46 of file module.h.


The documentation for this class was generated from the following files: