#include <custcont.h>
Class Description
- See also:
- Class ICustomControl, Custom
Controls, Class ICustStatusEdit.
- Description:
- The custom status control provide a recessed area of the dialog
which the developer may use as a status prompt display.
To initialize the pointer to the control call: ICustStatus
*GetICustStatus(HWND hCtrl);
To release the control call:
ReleaseICustStatus(ICustStatus
*ics);
The value to use in the Class field of the Custom Control Properties dialog is:
CustStatus
Member Function Documentation
virtual void SetText |
( |
const MCHAR * |
text |
) |
[pure virtual] |
- Parameters:
- MCHAR *text
Points to the text to display.
- Parameters:
- StatusTextFormat f
One of the following options:
STATUSTEXT_LEFT
Left justified in the control.
STATUSTEXT_CENTERED
Centered in the control.
STATUSTEXT_RIGHT
Right justified in the control.
virtual void GetText |
( |
MSTR & |
text |
) |
const [pure virtual] |
- Parameters:
- MSTR& text
Storage for the text to retrieve.
virtual int GetTextLength |
( |
|
) |
const [pure virtual] |
virtual void GetText |
( |
MCHAR * |
text, |
|
|
int |
ct |
|
) |
|
[pure virtual] |
- Parameters:
- MCHAR *text
A pointer to storage for the text to return.
int ct
The maximum length of the string to return.