Simple Edit Control.
More...
#include <SEdit.h>
|
| SEdit () |
| Constructor.
|
|
void | GetCueText (IStringT *pStr) SCONST |
| Get the cue text.
|
|
COLORREF | GetCueColor () SCONST |
| Get the cue text color.
|
|
SStringT | GetCueText (BOOL bRawText=FALSE) const |
| Get the cue text.
|
|
virtual HRESULT | SetAttribute (const SNS::SStringW &amp;amp;amp;strAttribName, const SNS::SStringW &amp;amp;amp;strValue, BOOL bLoading=FALSE) |
|
Simple Edit Control.
A simple edit control that supports cue text and color customization.
Definition at line 13 of file SEdit.h.
◆ SEdit()
SNSBEGIN SEdit::SEdit |
( |
| ) |
|
Constructor.
Definition at line 6 of file SEdit.cpp.
◆ GetCueColor()
COLORREF SEdit::GetCueColor |
( |
| ) |
|
|
inline |
Get the cue text color.
- Returns
- Cue text color
Definition at line 37 of file SEdit.h.
◆ GetCueText() [1/2]
SStringT SEdit::GetCueText |
( |
BOOL | bRawText = FALSE | ) |
const |
Get the cue text.
- Parameters
-
bRawText | Whether to get raw text |
- Returns
- Cue text
Definition at line 60 of file SEdit.cpp.
◆ GetCueText() [2/2]
void SEdit::GetCueText |
( |
IStringT * | pStr | ) |
|
|
inline |
Get the cue text.
- Parameters
-
pStr | Output string for the cue text |
Definition at line 27 of file SEdit.h.
◆ GetCueTextAlign()
UINT SEdit::GetCueTextAlign |
( |
| ) |
|
|
protected |
Get the alignment of the cue text.
- Returns
- Alignment of the cue text
Definition at line 28 of file SEdit.cpp.
◆ OnKillFocus()
void SEdit::OnKillFocus |
( |
SWND | wndFocus | ) |
|
|
protected |
Handle kill focus event.
- Parameters
-
wndFocus | New focus window handle |
This function is a message handler.
Definition at line 14 of file SEdit.cpp.
◆ OnLanguageChanged()
HRESULT SEdit::OnLanguageChanged |
( |
| ) |
|
|
protectedvirtual |
Handle language change event.
- Returns
- HRESULT
Definition at line 65 of file SEdit.cpp.
◆ OnPaint()
Paint the control.
- Parameters
-
pRT | Rendering target handle |
This function is a message handler.
Definition at line 39 of file SEdit.cpp.
◆ OnSetFocus()
void SEdit::OnSetFocus |
( |
SWND | wndOld | ) |
|
|
protected |
Handle set focus event.
- Parameters
-
wndOld | Previous focus window handle |
This function is a message handler.
Definition at line 21 of file SEdit.cpp.
◆ SetAttribute()
virtual HRESULT SEdit::SetAttribute |
( |
const SNS::SStringW &amp;amp;amp; | strAttribName, |
|
|
const SNS::SStringW &amp;amp;amp; | strValue, |
|
|
BOOL | bLoading = FALSE ) |
|
inlinevirtual |
◆ m_crCue
Cue text color
Definition at line 96 of file SEdit.h.
◆ m_strCue
Cue text
Definition at line 97 of file SEdit.h.
The documentation for this class was generated from the following files: