soui 5.0.0.1
Soui5 Doc
 
Loading...
Searching...
No Matches
SComboEdit Class Reference

Edit Control Embedded in ComboBox. More...

#include <SComboBase.h>

Inheritance diagram for SComboEdit:
SEdit

Public Member Functions

 SComboEdit ()
 Constructor.
 
virtual ~SComboEdit ()
 Destructor.
 
- Public Member Functions inherited from SEdit
 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;amp;strAttribName, const SNS::SStringW &amp;amp;amp;amp;strValue, BOOL bLoading=FALSE)
 

Protected Member Functions

void OnMouseHover (WPARAM wParam, CPoint ptPos)
 Handle mouse hover event.
 
void OnMouseLeave ()
 Handle mouse leave event.
 
void OnKeyDown (UINT nChar, UINT nRepCnt, UINT nFlags)
 Handle key down event.
 
BOOL FireEvent (IEvtArgs *evt) OVERRIDE
 Notify event.
 
void OnKillFocus (SWND wndFocus)
 Handle kill focus event.
 
- Protected Member Functions inherited from SEdit
virtual HRESULT OnLanguageChanged ()
 Handle language change event.
 
void OnPaint (IRenderTarget *pRT)
 Paint the control.
 
void OnSetFocus (SWND wndOld)
 Handle set focus event.
 
UINT GetCueTextAlign ()
 Get the alignment of the cue text.
 
void OnKillFocus (SWND wndFocus)
 Handle kill focus event.
 

Additional Inherited Members

- Protected Attributes inherited from SEdit
COLORREF m_crCue
 
STrText m_strCue
 

Detailed Description

Edit Control Embedded in ComboBox.

An edit control embedded within a ComboBox.

Definition at line 18 of file SComboBase.h.

Constructor & Destructor Documentation

◆ SComboEdit()

SComboEdit::SComboEdit ( )

Constructor.

Definition at line 11 of file SComboBase.cpp.

◆ ~SComboEdit()

SComboEdit::~SComboEdit ( )
virtual

Destructor.

Definition at line 15 of file SComboBase.cpp.

Member Function Documentation

◆ FireEvent()

BOOL SComboEdit::FireEvent ( IEvtArgs * evt)
protected

Notify event.

Parameters
evtEvent object
Returns
Success–TRUE Failure–FALSE

This function is a message handler.

Definition at line 43 of file SComboBase.cpp.

◆ OnKeyDown()

void SComboEdit::OnKeyDown ( UINT nChar,
UINT nRepCnt,
UINT nFlags )
protected

Handle key down event.

Parameters
nCharKey code
nRepCntRepeat count
nFlagsFlags

This function is a message handler.

Definition at line 31 of file SComboBase.cpp.

◆ OnKillFocus()

void SComboEdit::OnKillFocus ( SWND wndFocus)
protected

Handle kill focus event.

Parameters
wndFocusNew focus window handle

Definition at line 53 of file SComboBase.cpp.

◆ OnMouseHover()

void SComboEdit::OnMouseHover ( WPARAM wParam,
CPoint ptPos )
protected

Handle mouse hover event.

Parameters
wParamExtra parameters
ptPosMouse position

This function is a message handler.

Definition at line 19 of file SComboBase.cpp.

◆ OnMouseLeave()

void SComboEdit::OnMouseLeave ( )
protected

Handle mouse leave event.

This function is a message handler.

Definition at line 25 of file SComboBase.cpp.


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