OWLNext 7.0
Borland's Object Windows Library for the modern age
|
THelpContext is a class that maintains information about a menu item id and a child control id with a help context id. More...
#include <owl/hlpmanag.h>
Public Member Functions | |
THelpContext () | |
Default constructor that initializes every data member to zero. | |
THelpContext (TWindow *window, int helpId, int menuId, int controlId) | |
Convenient constructor to initialize the context entry with the proper ids. | |
THelpContext (const THelpContext &) | |
Makes a copy of the context entry. | |
~THelpContext () | |
THelpContext & | operator= (const THelpContext &) |
Makes a copy of the context entry. | |
bool | operator== (const THelpContext &) const |
Returns true if the context entries match. | |
bool | operator< (const THelpContext &) const |
int | GetHelpFileContextId () const |
Returns the help file context id for the context entry. | |
int | GetMenuContextId () const |
Returns the menu id for this context entry. | |
int | GetControlContextId () const |
Returns the child control id for this context entry. | |
TWindow * | GetWindow () const |
Returns the window this entry is associated with. | |
void | SetWindow (TWindow *window) |
Sets the window for this context entry. | |
THelpContext is a class that maintains information about a menu item id and a child control id with a help context id.
As particular windows get and lose focus, their context tables are removed from a global context table.
Definition at line 116 of file hlpmanag.h.
owl::THelpContext::THelpContext | ( | ) |
Default constructor that initializes every data member to zero.
Definition at line 556 of file hlpmanag.cpp.
Convenient constructor to initialize the context entry with the proper ids.
Definition at line 569 of file hlpmanag.cpp.
owl::THelpContext::THelpContext | ( | const THelpContext & | other | ) |
Makes a copy of the context entry.
Definition at line 581 of file hlpmanag.cpp.
owl::THelpContext::~THelpContext | ( | ) |
Definition at line 589 of file hlpmanag.cpp.
|
inline |
Returns the child control id for this context entry.
Definition at line 355 of file hlpmanag.h.
|
inline |
Returns the help file context id for the context entry.
Definition at line 337 of file hlpmanag.h.
|
inline |
Returns the menu id for this context entry.
Definition at line 346 of file hlpmanag.h.
|
inline |
Returns the window this entry is associated with.
Definition at line 364 of file hlpmanag.h.
bool owl::THelpContext::operator< | ( | const THelpContext & | other | ) | const |
Definition at line 620 of file hlpmanag.cpp.
THelpContext & owl::THelpContext::operator= | ( | const THelpContext & | other | ) |
Makes a copy of the context entry.
Definition at line 597 of file hlpmanag.cpp.
bool owl::THelpContext::operator== | ( | const THelpContext & | other | ) | const |
Returns true if the context entries match.
Definition at line 610 of file hlpmanag.cpp.
Sets the window for this context entry.
Definition at line 373 of file hlpmanag.h.