OWLNext 7.0
Borland's Object Windows Library for the modern age
|
#include <owl/resource.h>
Public Types | |
enum | TDlgResText { drtMenuName , drtClassName , drtCaption } |
Enumeration of various strings stored with a dialog resource. More... | |
Public Member Functions | |
TDialogRes (HINSTANCE hInstance, TResId id) | |
TDialogRes (HINSTANCE hInstance, TResId id, LANGID langid) | |
~TDialogRes () | |
bool | IsOK () const |
bool | IsDialogEx () const |
DLGTEMPLATEEX * | GetTemplateEx () const |
DLGTEMPLATE * | GetTemplate () const |
DWORD | GetSize () const |
void | GetRect (TRect &rect) const |
int | GetText (TCHAR *buffer, int size, TDlgResText which=drtCaption) const |
Protected Attributes | |
TResource< DLGTEMPLATE, static_cast< int >(RtDialog)> * | OldResource |
TResource< DLGTEMPLATEEX, static_cast< int >(RtNewDialog)> * | NewResource |
Definition at line 122 of file resource.h.
Enumeration of various strings stored with a dialog resource.
Enumerator | |
---|---|
drtMenuName | String of menu resource used by dialog. |
drtClassName | Class name of dialog. |
drtCaption | Caption of dialog. |
Definition at line 146 of file resource.h.
Definition at line 30 of file resource.cpp.
References NewResource, and OldResource.
Definition at line 47 of file resource.cpp.
References NewResource, and OldResource.
owl::TDialogRes::~TDialogRes | ( | ) |
Definition at line 59 of file resource.cpp.
References NewResource, and OldResource.
Definition at line 113 of file resource.cpp.
References GetTemplate(), GetTemplateEx(), and IsDialogEx().
DWORD owl::TDialogRes::GetSize | ( | ) | const |
Definition at line 103 of file resource.cpp.
References owl::TResource< T, resType >::GetSize(), IsDialogEx(), IsOK(), NewResource, OldResource, and PRECONDITION.
DLGTEMPLATE * owl::TDialogRes::GetTemplate | ( | ) | const |
Definition at line 96 of file resource.cpp.
References IsDialogEx(), OldResource, and PRECONDITION.
DLGTEMPLATEEX * owl::TDialogRes::GetTemplateEx | ( | ) | const |
Definition at line 89 of file resource.cpp.
References IsDialogEx(), NewResource, and PRECONDITION.
int owl::TDialogRes::GetText | ( | TCHAR * | buffer, |
int | size, | ||
TDlgResText | which = drtCaption ) const |
Definition at line 131 of file resource.cpp.
References drtCaption, drtClassName, drtMenuName, GetTemplate(), and IsDialogEx().
bool owl::TDialogRes::IsDialogEx | ( | ) | const |
Definition at line 81 of file resource.cpp.
References IsOK(), owl::TResource< T, resType >::IsOK(), NewResource, OldResource, and PRECONDITION.
bool owl::TDialogRes::IsOK | ( | ) | const |
Definition at line 70 of file resource.cpp.
References owl::TResource< T, resType >::IsOK(), NewResource, and OldResource.
|
protected |
Definition at line 160 of file resource.h.
|
protected |
Definition at line 159 of file resource.h.