soui 5.0.0.1
 
Loading...
Searching...
No Matches
SComboBase Class Referenceabstract
Inheritance diagram for SComboBase:
TWindowProxy< IComboBase > ISDropDownOwner IComboBase SWindow ICtrl TObjRefImpl< SObjectImpl< IWindow > > IAnimationListener IObjRef SObjectImpl< IWindow > IWindow IObject IObjRef TComboBaseProxy< IComboBox > TComboBaseProxy< IComboView > TComboBaseProxy< T > SComboBox SComboView

Public Member Functions

int FindString (LPCTSTR pszFind, int nAfter=-1, BOOL bPartMatch=TRUE) OVERRIDE
 Find string in the list box.
 
int FindStringA (LPCSTR pszFind, int nAfter=-1, BOOL bPartMatch=TRUE) OVERRIDE
 Find string in the list box (ANSI version)
 
void DropDown () OVERRIDE
 Drop down the list box.
 
void CloseUp () OVERRIDE
 Close the dropped list box.
 
BOOL IsDropdown () SCONST OVERRIDE
 Check if the list box is dropped down.
 
void SetDropdown (BOOL bDropdown) OVERRIDE
 Set the dropdown state.
 
void SetWindowText (LPCTSTR pszText) OVERRIDE
 Set the window text.
 
void GetDesiredSize (SIZE *psz, int nParentWid, int nParentHei) OVERRIDE
 Get the desired size of the control.
 
void SetFocus () OVERRIDE
 Set focus to the control.
 
BOOL FireEvent (IEvtArgs *evt) OVERRIDE
 Notify event.
 
UINT OnGetDlgCode () SCONST OVERRIDE
 Get dialog code.
 
BOOL IsFocusable () SCONST OVERRIDE
 Check if the control is focusable.
 
void UpdateChildrenPosition () OVERRIDE
 Update the position of child controls.
 
SStringT GetWindowText (BOOL bRawText=FALSE) OVERRIDE
 Get the window text.
 
SStringT GetLBText (int iItem, BOOL bRawText=FALSE)
 Get the text of a list box item.
 
- Public Member Functions inherited from TWindowProxy< IComboBase >
long AddRef () OVERRIDE
 
long Release () OVERRIDE
 
void OnFinalRelease () OVERRIDE
 
IWindowToIWindow () OVERRIDE
 
HRESULT QueryInterface (REFGUID id, IObjRef **ppRet) OVERRIDE
 
- Public Member Functions inherited from IComboBase
 DECLARE_CLASS_SIID (IID_IComboBase) long AddRef() PURE
 增加引用计数
 
long Release () PURE
 减少引用计数
 
void OnFinalRelease () PURE
 释放对象
 
IWindowToIWindow () PURE
 转换为IWindow*接口
 
int GetCurSel () SCONST PURE
 获取选中值索引
 
int GetCount () SCONST PURE
 获取下拉项个数
 
BOOL SetCurSel (int iSel) PURE
 设置当前选中
 
BOOL GetItemText (int iItem, BOOL bRawText, IStringT *str) SCONST PURE
 获取指定项文本数据
 
BOOL GetItemTextA (int iItem, BOOL bRawText, IStringA *str) SCONST PURE
 
int FindString (LPCTSTR pszFind, int nAfter DEF_VAL(-1), BOOL bPartMatch DEF_VAL(TRUE)) PURE
 查找字符串位置
 
int FindStringA (LPCSTR pszFind, int nAfter DEF_VAL(-1), BOOL bPartMatch DEF_VAL(TRUE)) PURE
 
void DropDown () PURE
 下拉事件
 
void CloseUp () PURE
 下拉关闭
 
BOOL IsDropdown () SCONST PURE
 查询DropDown状态标志
 
void SetDropdown (BOOL bDropdown) PURE
 设置下拉状态标志
 
- Public Member Functions inherited from ICtrl
 DECLARE_CLASS_SIID (IID_ICtrl) long AddRef() PURE
 增加引用计数
 
long Release () PURE
 减少引用计数
 
void OnFinalRelease () PURE
 释放对象
 
IWindowToIWindow () PURE
 转换为IWindow*接口
 
- Public Member Functions inherited from IObjRef
long AddRef () PURE
 Increases the reference count.
 
long Release () PURE
 Decreases the reference count.
 
void OnFinalRelease () PURE
 Called when the reference count reaches zero and the object is about to be released.
 
- Public Member Functions inherited from SWindow
 SWindow ()
 Constructor.
 
virtual ~SWindow ()
 Destructor.
 
BOOL IsMsgHandled () const
 Checks if the message is handled.
 
void SetMsgHandled (BOOL bHandled)
 Sets the message handled flag.
 
void OnFinalRelease ()
 
SWND GetSwnd () SCONST OVERRIDE
 
ILayoutGetLayout () OVERRIDE
 
ILayoutParamGetLayoutParam () SCONST OVERRIDE
 
BOOL SetLayoutParam (ILayoutParam *pLayoutParam) OVERRIDE
 
BOOL IsFloat () SCONST OVERRIDE
 
BOOL IsDisplay () SCONST OVERRIDE
 
void SetWindowText (LPCTSTR lpszText) OVERRIDE
 
void SetWindowTextU8 (LPCSTR lpszText) OVERRIDE
 
void SetToolTipText (LPCTSTR pszText) OVERRIDE
 
void SetToolTipTextU8 (LPCSTR pszText) OVERRIDE
 
BOOL IsChecked () SCONST OVERRIDE
 
void SetCheck (BOOL bCheck) OVERRIDE
 
BOOL IsDisabled (BOOL bCheckParent DEF_VAL(FALSE)) SCONST OVERRIDE
 
void EnableWindow (BOOL bEnable, BOOL bUpdate DEF_VAL(FALSE)) OVERRIDE
 
BOOL IsVisible (BOOL bCheckParent DEF_VAL(FALSE)) SCONST OVERRIDE
 
void SetVisible (BOOL bVisible, BOOL bUpdate DEF_VAL(FALSE)) OVERRIDE
 
BOOL IsMsgTransparent () SCONST OVERRIDE
 
ULONG_PTR GetUserData () SCONST OVERRIDE
 
ULONG_PTR SetUserData (ULONG_PTR uData) OVERRIDE
 
void GetWindowRect (LPRECT prect) SCONST OVERRIDE
 
BOOL IsVideoCanvas () SCONST OVERRIDE
 
void GetVisibleRect (LPRECT prect) SCONST OVERRIDE
 
void GetClientRect (LPRECT prect) SCONST OVERRIDE
 
BOOL IsContainPoint (POINT pt, BOOL bClientOnly) SCONST OVERRIDE
 
void DoColorize (COLORREF cr) OVERRIDE
 
COLORREF GetColorizeColor () SCONST OVERRIDE
 
BOOL Destroy () OVERRIDE
 
void BringWindowToTop () OVERRIDE
 
UINT GetChildrenCount () SCONST OVERRIDE
 
LRESULT SSendMessage (UINT uMsg, WPARAM wParam=0, LPARAM lParam=0, BOOL *pbMsgHandled DEF_VAL(NULL)) OVERRIDE
 
void SDispatchMessage (UINT uMsg, WPARAM wParam=0, LPARAM lParam=0) OVERRIDE
 
void SetFocus () OVERRIDE
 
void KillFocus () OVERRIDE
 
BOOL IsFocused () SCONST OVERRIDE
 
void Invalidate () OVERRIDE
 
void InvalidateRect (LPCRECT lprect) OVERRIDE
 
void LockUpdate () OVERRIDE
 
void UnlockUpdate () OVERRIDE
 
BOOL IsUpdateLocked (BOOL bCheckParent DEF_VAL(FALSE)) SCONST OVERRIDE
 
void Update (BOOL bForce DEF_VAL(FALSE)) OVERRIDE
 
void Move (LPCRECT prect) OVERRIDE
 
void SetWindowRgn (IRegionS *pRgn, BOOL bRedraw DEF_VAL(TRUE)) OVERRIDE
 
IRegionSGetWindowRgn () SCONST OVERRIDE
 
void SetWindowPath (IPathS *pPath, BOOL bRedraw DEF_VAL(TRUE)) OVERRIDE
 
IPathSGetWindowPath () SCONST OVERRIDE
 
BOOL SetTimer (char id, UINT uElapse) OVERRIDE
 
BOOL KillTimer (char id) OVERRIDE
 
SWND GetCapture () SCONST OVERRIDE
 
SWND SetCapture () OVERRIDE
 
BOOL ReleaseCapture () OVERRIDE
 
void SetAnimation (IAnimation *animation) OVERRIDE
 
IAnimationGetAnimation () SCONST OVERRIDE
 
void StartAnimation (IAnimation *animation) OVERRIDE
 
void ClearAnimation () OVERRIDE
 
void SetAlpha (BYTE byAlpha) OVERRIDE
 
BYTE GetAlpha () SCONST OVERRIDE
 
void SetMatrix (const IMatrix *mtx) OVERRIDE
 
void GetMatrix (IMatrix *mtx) SCONST OVERRIDE
 
int GetScale () SCONST OVERRIDE
 
BOOL IsSiblingsAutoGroupped () SCONST OVERRIDE
 
void RequestRelayout () OVERRIDE
 
void UpdateLayout () OVERRIDE
 
UINT OnGetDlgCode () SCONST OVERRIDE
 
BOOL IsFocusable () SCONST OVERRIDE
 
BOOL IsClipClient () SCONST OVERRIDE
 
BOOL IsLayoutDirty () SCONST OVERRIDE
 
IWindowGetNextLayoutIChild (const IWindow *pCurChild) SCONST OVERRIDE
 
void UpdateChildrenPosition () OVERRIDE
 
IWindowGetIWindow (int uCode) SCONST OVERRIDE
 
IWindowGetIChild (int iChild) SCONST OVERRIDE
 
IWindowGetIParent () SCONST OVERRIDE
 
IWindowGetIRoot () SCONST OVERRIDE
 
BOOL IsDescendant (const IWindow *pWnd) SCONST OVERRIDE
 
BOOL AdjustIZOrder (IWindow *pInsertAfter) OVERRIDE
 
void InsertIChild (IWindow *pNewChild, IWindow *pInsertAfter=NULL) OVERRIDE
 
BOOL RemoveIChild (IWindow *pChild) OVERRIDE
 
BOOL DestroyIChild (IWindow *pChild) OVERRIDE
 
void DestroyAllChildren () OVERRIDE
 
IWindowFindIChildByID (int nId) OVERRIDE
 
IWindowFindIChildByName (LPCWSTR pszName) OVERRIDE
 
IWindowFindIChildByNameA (LPCSTR pszName) OVERRIDE
 
ISwndContainerGetContainer () OVERRIDE
 
void SetContainer (ISwndContainer *pContainer) OVERRIDE
 
void GetChildrenLayoutRect (RECT *prc) SCONST OVERRIDE
 
void GetDesiredSize (SIZE *psz, int nParentWid, int nParentHei) OVERRIDE
 
void Move2 (int x, int y, int cx DEF_VAL(-1), int cy DEF_VAL(-1)) OVERRIDE
 
int GetWindowText (TCHAR *pBuf, int nBufLen, BOOL bRawText) OVERRIDE
 Retrieves the window text.
 
int GetWindowTextU8 (IStringA *pStr, BOOL bRawText) OVERRIDE
 Retrieves the window text as a UTF-8 string.
 
void SetEventMute (BOOL bMute) OVERRIDE
 Sets the event mute state.
 
DWORD GetState () SCONST OVERRIDE
 Retrieves the current state of the window.
 
DWORD ModifyState (DWORD dwStateAdd, DWORD dwStateRemove, BOOL bUpdate DEF_VAL(FALSE)) OVERRIDE
 Modifies the state of the window.
 
void SetIOwner (IWindow *pOwner) OVERRIDE
 Sets the owner window.
 
IWindowGetIOwner () SCONST OVERRIDE
 Retrieves the owner window.
 
BOOL CreateChildrenFromXml (LPCWSTR pszXml) OVERRIDE
 Creates child windows from XML.
 
BOOL CreateChildrenFromResId (LPCTSTR pszResId) OVERRIDE
 Creates child windows from a resource ID.
 
BOOL InitFromXml (IXmlNode *pNode) OVERRIDE
 Initializes the window from an XML node.
 
BOOL GetAttribute (LPCWSTR pszName, IStringW *strValue) SCONST OVERRIDE
 Retrieves an attribute value from the window.
 
COLORREF GetBkgndColor () SCONST OVERRIDE
 Retrieves the background color of the window.
 
IWindowGetISelectedSiblingInGroup () OVERRIDE
 Retrieves the selected sibling window in a group.
 
IWindowGetISelectedChildInGroup () OVERRIDE
 Retrieves the selected child window in a group.
 
SWND SwndFromPoint (POINT *pt, BOOL bIncludeMsgTransparent DEF_VAL(FALSE)) SCONST OVERRIDE
 Retrieves the window handle at a specified point.
 
BOOL FireEvent (IEvtArgs *evt) OVERRIDE
 Fires an event.
 
BOOL FireCommand () OVERRIDE
 Fires a command event.
 
BOOL FireCtxMenu (POINT pt) OVERRIDE
 Fires a context menu event.
 
BOOL SubscribeEvent (DWORD evtId, const IEvtSlot *pSlot) OVERRIDE
 Subscribes to an event.
 
BOOL UnsubscribeEvent (DWORD evtId, const IEvtSlot *pSlot) OVERRIDE
 Unsubscribes from an event.
 
HRESULT QueryInterface (REFGUID id, IObjRef **ppRet) OVERRIDE
 Queries an interface.
 
BOOL AddEvent (DWORD dwEventID, LPCWSTR pszEventHandlerName) OVERRIDE
 Adds an event handler.
 
BOOL RemoveEvent (DWORD dwEventID) OVERRIDE
 Removes an event handler.
 
BOOL SwndProc (UINT uMsg, WPARAM wParam, LPARAM lParam, LRESULT *lResult) OVERRIDE
 Processes a window message.
 
void SetSwndProc (FunSwndProc swndProc) OVERRIDE
 Sets the window procedure.
 
HWND GetHostHwnd () OVERRIDE
 Retrieves the host window handle.
 
ITimelineHandlersMgrGetTimelineHandlersMgr () OVERRIDE
 Retrieves the timeline handlers manager.
 
BOOL RegisterDragDrop (IDropTarget *pDragTarget) OVERRIDE
 Registers a drop target for the window.
 
BOOL UnregisterDragDrop () OVERRIDE
 Unregisters a drop target for the window.
 
BOOL CreateCaret (HBITMAP pBmp, int nWid, int nHeight) OVERRIDE
 Creates a caret.
 
void ShowCaret (BOOL bShow) OVERRIDE
 Shows or hides the caret.
 
void SetCaretPos (int x, int y) OVERRIDE
 Sets the caret position.
 
IAccProxy * GetAccProxy ()
 Retrieves the accessibility proxy for the window.
 
void accNotifyEvent (DWORD dwEvt)
 Notifies an accessibility event.
 
PSWNDMSG GetCurMsg (void) const
 Retrieves the current message being processed.
 
const ISwndContainerGetContainer () const
 Retrieves the container associated with this window.
 
SWindowGetWindow (int uCode) const
 Retrieves a window based on a given code.
 
SWindowGetChild (int iChild) const
 Retrieves a child window by index.
 
SWindowGetParent () const
 Retrieves the parent window.
 
SWindowGetRoot () const
 Retrieves the root window in the hierarchy.
 
SWindowGetNextLayoutChild (const SWindow *pCurChild) const
 Retrieves the next layout child after a specified child.
 
BOOL AdjustZOrder (SWindow *pInsertAfter)
 Adjusts the Z-order of the window.
 
void InsertChild (SWindow *pNewChild, SWindow *pInsertAfter=NULL)
 Inserts a child window into the window tree.
 
BOOL RemoveChild (SWindow *pChild)
 Removes a child window from the window tree.
 
BOOL DestroyChild (SWindow *pChild)
 Destroys a child window.
 
void SetMatrix (const SMatrix &mtx)
 Sets the transformation matrix for the window.
 
virtual SStringT GetToolTipText ()
 Retrieves the tooltip text of the window.
 
SEventSetGetEventSet ()
 Retrieves the event set associated with the window.
 
const SwndStyleGetStyle () const
 Retrieves the style of the window.
 
SwndStyleGetStyle ()
 
void SetOwner (SWindow *pOwner)
 Sets the owner of the window.
 
SWindowGetOwner () const
 Retrieves the current owner of the window.
 
UINT GetTextAlign () const
 Retrieves the text alignment of the window.
 
CRect GetWindowRect () const
 Retrieves the bounding rectangle of the window.
 
virtual CRect GetClientRect () const
 Retrieves the client rectangle of the window.
 
SWindowFindChildByID (int nID, int nDeep=-1)
 Finds a child window by its ID.
 
template<class T>
T * GetLayoutParamT ()
 Template method to cast layout parameters to a specific type.
 
template<class T>
T * FindChildByID2 (int nID, int nDeep=-1)
 Finds a child window by its ID and casts it to a specific type.
 
SWindowFindChildByName (LPCWSTR strName, int nDeep=-1)
 Finds a child window by its name.
 
SWindowFindChildByName (LPCSTR strName, int nDeep=-1)
 Overloaded method to find a child window by its name (ANSI version).
 
template<class T>
T * FindChildByName2 (LPCWSTR pszName, int nDeep=-1)
 Finds a child window by its name and casts it to a specific type.
 
template<class T>
T * FindChildByName2 (LPCSTR pszName, int nDeep=-1)
 Overloaded method to find a child window by its name and cast it to a specific type (ANSI version).
 
template<class T>
T * FindChildByClass (int nDeep=-1) const
 Recursively finds a child window by its class type.
 
virtual SIZE MeasureContent (int nParentWid, int nParentHei)
 
virtual SIZE MeasureChildren (int nParentWid, int nParentHei)
 
virtual BOOL UpdateToolTip (CPoint pt, SwndToolTipInfo &tipInfo)
 Handle tooltip updates.
 
virtual SWindowGetSelectedSiblingInGroup ()
 Get selected sibling in group.
 
virtual SWindowGetSelectedChildInGroup ()
 Get selected child in group.
 
virtual SWindowCreateChildByName (LPCWSTR pszName)
 
virtual void RequestRelayout (SWND hSource, BOOL bSourceResizable)
 Request layout update.
 
virtual SStringW tr (const SStringW &strSrc) const
 
virtual SWND SwndFromPoint (CPoint &pt, BOOL bIncludeMsgTransparent=false) const
 
virtual BOOL OnNcHitTest (CPoint pt)
 
virtual void OnUpdateFloatPosition (const CRect &rcParent)
 Update floating window position.
 
virtual BOOL NeedRedrawWhenStateChange ()
 Determine if redraw is needed on state change.
 
virtual void DrawText (IRenderTarget *pRT, LPCTSTR pszBuf, int cchText, LPRECT pRect, UINT uFormat)
 Draw text content.
 
virtual void DrawFocus (IRenderTarget *pRT)
 Draw focus state.
 
virtual void BeforePaint (IRenderTarget *pRT, SPainter &painter)
 Prepare rendering environment.
 
virtual void AfterPaint (IRenderTarget *pRT, SPainter &painter)
 Restore rendering environment.
 
virtual LPCWSTR GetTrCtx () const
 Get translation context.
 
void RedrawRegion (IRenderTarget *pRT, IRegionS *pRgn)
 Renders the content of the window and its child windows onto the RenderTarget.
 
IRenderTargetGetRenderTarget (LPCRECT pRc=NULL, GrtFlag gdcFlags=GRT_NODRAW, BOOL bClientRT=TRUE)
 Retrieves a memory DC compatible with the SWND window.
 
IRenderTargetGetRenderTarget (GrtFlag gdcFlags, IRegionS *pRgn)
 Retrieves a memory DC compatible with the SWND window.
 
void ReleaseRenderTarget (IRenderTarget *pRT)
 Releases the RenderTarget obtained via GetRenderTarget.
 
void PaintBackground (IRenderTarget *pRT, LPRECT pRc)
 Draws the background content of the window.
 
void PaintForeground (IRenderTarget *pRT, LPRECT pRc, SWindow *pStartFrom=NULL)
 Draws the foreground content of the window.
 
void BeforePaintEx (IRenderTarget *pRT)
 Prepares the drawing environment for the current window's RenderTarget, starting from the top-level window.
 
void TransformPoint (CPoint &pt) const
 Transforms a point based on the current window's transformation matrix.
 
void TransformPointEx (CPoint &pt) const
 Extends the transformation of a point.
 
BOOL FireEvent (SEvtArgs &evt)
 Fires an event.
 
- Public Member Functions inherited from TObjRefImpl< SObjectImpl< IWindow > >
long AddRef () override
 
long Release () override
 释放引用
 
void OnFinalRelease () override
 释放对象
 
- Public Member Functions inherited from SObjectImpl< IWindow >
 SObjectImpl ()
 Constructor.
 
BOOL InitFromXml (IXmlNode *pXmlNode) OVERRIDE
 Initializes the object from an XML node.
 
LPCWSTR GetName () SCONST OVERRIDE
 Retrieves the object's name.
 
LPCSTR GetNameA () SCONST OVERRIDE
 Retrieves the object's name in ANSI format.
 
void SetName (LPCWSTR pszName) OVERRIDE
 Sets the object's name.
 
int GetID () SCONST OVERRIDE
 Retrieves the object's ID.
 
void SetID (int nID) OVERRIDE
 Sets the object's ID.
 
HRESULT AfterAttribute (LPCWSTR strAttribName, LPCWSTR strValue, BOOL bLoading, HRESULT hr) OVERRIDE
 Handles attribute processing after setting an attribute.
 
HRESULT SetAttributeA (LPCSTR pszAttr, LPCSTR pszValue, BOOL bLoading) OVERRIDE
 Sets an attribute using ANSI strings.
 
HRESULT SetAttribute (LPCWSTR pszAttr, LPCWSTR pszValue, BOOL bLoading) OVERRIDE
 Sets an attribute using wide strings.
 
virtual HRESULT SetAttribute (const SStringW &strAttr, const SStringW &strValue, BOOL bLoading)
 Sets an attribute using wide strings.
 
HRESULT ISetAttribute (const IStringW *strAttr, const IStringW *strValue, BOOL bLoading) OVERRIDE
 Sets an attribute using IStringW objects.
 
LPCWSTR GetObjectClass () SCONST OVERRIDE
 Retrieves the object's class name.
 
int GetObjectType () SCONST OVERRIDE
 Retrieves the object's type.
 
BOOL IsClass (LPCWSTR lpszName) SCONST OVERRIDE
 Checks if the object is of a specific class.
 
BOOL GetAttribute (LPCWSTR strAttr, IStringW *pValue) SCONST OVERRIDE
 Retrieves an attribute value.
 
void OnInitFinished (IXmlNode *xmlNode) OVERRIDE
 Handles initialization completion.
 
void SetAttrHandler (FunAttrHandler attrHandler) OVERRIDE
 Sets the attribute handler.
 
- Public Member Functions inherited from IWindow
 DEF_OBJ_BASE (IWindow, Window) long AddRef() PURE
 添加引用
 
long Release () PURE
 释放引用
 
void OnFinalRelease () PURE
 释放对象
 
BOOL IsClass (LPCWSTR lpszName) SCONST PURE
 判断this是不是属于指定的类型
 
LPCWSTR GetObjectClass () SCONST PURE
 获得类型名
 
int GetObjectType () SCONST PURE
 获得对象类型
 
int GetID () SCONST PURE
 获取对象ID
 
void SetID (int nID) PURE
 设置对象ID
 
LPCWSTR GetName () SCONST PURE
 获取对象Name
 
LPCSTR GetNameA () SCONST PURE
 
void SetName (LPCWSTR pszName) PURE
 设置对象Name
 
BOOL InitFromXml (IXmlNode *xmlNode) PURE
 从XML结节初始化SObject对象
 
void OnInitFinished (IXmlNode *xmlNode) PURE
 属性初始化完成处理接口
 
HRESULT ISetAttribute (const IStringW *strAttribName, const IStringW *strValue, BOOL bLoading) PURE
 设置一个对象属性
 
HRESULT SetAttributeA (LPCSTR pszAttr, LPCSTR pszValue, BOOL bLoading DEF_VAL(FALSE)) PURE
 设置一个对象属性
 
HRESULT SetAttribute (LPCWSTR pszAttr, LPCWSTR pszValue, BOOL bLoading DEF_VAL(FALSE)) PURE
 设置一个对象属性
 
BOOL GetAttribute (LPCWSTR strAttr, IStringW *pValue) SCONST PURE
 通过属性名查询属性值
 
HRESULT AfterAttribute (LPCWSTR pszAttr, LPCWSTR pszValue, BOOL bLoading, HRESULT hr) PURE
 属性处理后调用的方法
 
void SetAttrHandler (FunAttrHandler attrHandler) PURE
 设置属性处理回调方法
 
HRESULT QueryInterface (REFGUID id, IObjRef **ppRet) PURE
 查询控件接口
 
ISwndContainerGetContainer () PURE
 获取控件容器接口
 
void SetContainer (ISwndContainer *pContainer) PURE
 设置控件容器接口
 
SWND GetSwnd () SCONST PURE
 获取SOUI容器句柄
 
ILayoutGetLayout () PURE
 获取布局对象
 
ILayoutParamGetLayoutParam () SCONST PURE
 获取布局参数对象
 
BOOL SetLayoutParam (ILayoutParam *pLayoutParam) PURE
 设置布局参数对象
 
BOOL IsFloat () SCONST PURE
 获取当前窗口参与自动布局标志
 
BOOL IsDisplay () SCONST PURE
 获取隐藏占位标志
 
BOOL IsMsgTransparent () SCONST PURE
 获取窗口是否处理鼠标消息
 
BOOL IsClipClient () SCONST PURE
 获取窗口是否自动剪裁客户区
 
void SetToolTipText (LPCTSTR pszText) PURE
 设置tooltip
 
void SetToolTipTextU8 (LPCSTR pszText) PURE
 设置tooltip
 
BOOL IsChecked () SCONST PURE
 获取窗口的check状态标志
 
void SetCheck (BOOL bCheck) PURE
 设置窗口check状态
 
BOOL IsDisabled (BOOL bCheckParent) SCONST PURE
 获取窗口的禁用状态
 
void EnableWindow (BOOL bEnable, BOOL bUpdate) PURE
 设置窗口启用状态
 
BOOL IsVisible (BOOL bCheckParent) SCONST PURE
 获取窗口的可见标志
 
void SetVisible (BOOL bVisible, BOOL bUpdate) PURE
 设置窗口可见标志
 
ULONG_PTR GetUserData () SCONST PURE
 获取窗口的用户数据
 
ULONG_PTR SetUserData (ULONG_PTR uData) PURE
 设置窗口用户数据
 
void DoColorize (COLORREF cr) PURE
 执行调色
 
COLORREF GetColorizeColor () SCONST PURE
 获取当前调色的色调
 
LRESULT SSendMessage (UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL *pbMsgHandled) PURE
 发送一个消息
 
void SDispatchMessage (UINT uMsg, WPARAM wParam DEF_VAL(0), LPARAM lParam DEF_VAL(0)) PURE
 分发一个消息到当前窗口及它所有子窗口
 
BOOL IsFocusable () SCONST PURE
 获取窗口是否允许设置为焦点
 
BOOL IsFocused () SCONST PURE
 判断是否为焦点窗口
 
void SetFocus () PURE
 将当前窗口设置为焦点窗口
 
void KillFocus () PURE
 取消焦点
 
void Invalidate () PURE
 刷新当前窗口客户区
 
void InvalidateRect (LPCRECT lprect) PURE
 刷新当前窗口指定位置
 
void LockUpdate () PURE
 锁住刷新,中断刷新调用
 
void UnlockUpdate () PURE
 解锁刷新,恢复刷新调用
 
BOOL IsUpdateLocked (BOOL bCheckParent DEF_VAL(FALSE)) SCONST PURE
 获取刷新加锁状态
 
void Update (BOOL bForce DEF_VAL(FALSE)) PURE
 请求立即更新窗口
 
void SetWindowRgn (IRegionS *pRgn, BOOL bRedraw) PURE
 设置窗口显示区域
 
IRegionSGetWindowRgn () SCONST PURE
 获取窗口显示区域
 
void SetWindowPath (IPathS *pPath, BOOL bRedraw) PURE
 设置窗口显示区域
 
IPathSGetWindowPath () SCONST PURE
 获取窗口显示区域
 
void Move2 (int x, int y, int cx DEF_VAL(-1), int cy DEF_VAL(-1)) PURE
 将窗口移动到指定位置
 
void Move (LPCRECT prect) PURE
 将窗口移动到指定位置
 
void GetWindowRect (LPRECT prect) SCONST PURE
 获取窗口的显示位置,包含窗口的非客户区
 
void GetClientRect (LPRECT prect) SCONST PURE
 获取窗口的显示位置,不包含窗口的非客户区
 
void GetVisibleRect (LPRECT prect) SCONST PURE
 获取窗口的经过父窗口剪裁后的显示位置
 
BOOL IsContainPoint (POINT pt, BOOL bClientOnly) SCONST PURE
 检测一个点是不是在窗口范围内
 
SWND SwndFromPoint (POINT *pt, BOOL bIncludeMsgTransparent DEF_VAL(FALSE)) SCONST PURE
 检查pt指向的窗口
 
BOOL SetTimer (char id, UINT uElapse) PURE
 设置容器定时器
 
BOOL KillTimer (char id) PURE
 删除SetTimer创建的定时器
 
SWND GetCapture () SCONST PURE
 获取鼠标捕获
 
SWND SetCapture () PURE
 设置容器为鼠标捕获
 
BOOL ReleaseCapture () PURE
 释放鼠标捕获
 
void SetAnimation (IAnimation *animation) PURE
 设置一个窗口动画
 
void StartAnimation (IAnimation *animation) PURE
 立即启动一个动画对象
 
IAnimationGetAnimation () SCONST PURE
 获取当前正在运行的动画对象
 
void ClearAnimation () PURE
 清除动画
 
void SetAlpha (BYTE byAlpha) PURE
 设置窗口透明度
 
BYTE GetAlpha () SCONST PURE
 获取窗口透明度
 
void SetMatrix (const IMatrix *mtx) PURE
 设置窗口变换矩阵
 
void GetMatrix (IMatrix *mtx) SCONST PURE
 获取窗口变换矩阵
 
int GetScale () SCONST PURE
 获取dpi放大倍数
 
void RequestRelayout () PURE
 请求重新布局
 
void UpdateLayout () PURE
 重新布局当前窗口的子窗口,只在窗口布局脏了才生效
 
void UpdateChildrenPosition () PURE
 强制重新布局子窗口
 
BOOL IsLayoutDirty () SCONST PURE
 获取布局脏标志
 
UINT OnGetDlgCode () SCONST PURE
 获取窗口响应键盘的标志位
 
IWindowGetIRoot () SCONST PURE
 获取根窗口
 
IWindowGetIParent () SCONST PURE
 获取父窗口
 
IWindowGetIWindow (int uCode) SCONST PURE
 根据uCode获取与当前窗口在dom树上关联的窗口
 
IWindowGetIChild (int iChild) SCONST PURE
 获取子窗口
 
UINT GetChildrenCount () SCONST PURE
 获取子窗口数量
 
BOOL IsDescendant (const IWindow *pTest) SCONST PURE
 判断一个窗口是不是当前窗口的子孙窗口
 
void SetIOwner (IWindow *pOwner) PURE
 设置窗口的Owner
 
IWindowGetIOwner () SCONST PURE
 获取Owner窗口
 
void BringWindowToTop () PURE
 将当前窗口移动到同级兄弟窗口的zorder最顶层
 
BOOL AdjustIZOrder (IWindow *pInsertAfter) PURE
 调整窗口Z序
 
void InsertIChild (IWindow *pNewChild, IWindow *pInsertAfter) PURE
 在窗口树中插入一个子窗口
 
BOOL RemoveIChild (IWindow *pChild) PURE
 从窗口树中移除一个子窗口对象
 
BOOL CreateChildrenFromXml (LPCWSTR pszXml) PURE
 从XML创建子窗口
 
BOOL CreateChildrenFromResId (LPCTSTR pszResId) PURE
 从XML资源创建子窗口
 
IWindowFindIChildByID (int nId) PURE
 根据ID查找子窗口
 
IWindowFindIChildByName (LPCWSTR pszName) PURE
 根据Name查找子窗口
 
IWindowFindIChildByNameA (LPCSTR pszName) PURE
 根据Name查找子窗口
 
BOOL DestroyIChild (IWindow *pChild) PURE
 销毁一个子窗口
 
void DestroyAllChildren () PURE
 销毁所有子窗口
 
BOOL Destroy () PURE
 销毁窗口
 
IWindowGetNextLayoutIChild (const IWindow *pCurChild) SCONST PURE
 获取指定窗口的下一个参与布局的窗口对象
 
void GetChildrenLayoutRect (RECT *prc) SCONST PURE
 获得子窗口的布局空间
 
void GetDesiredSize (SIZE *pSize, int nParentWid, int nParentHei) PURE
 当没有指定窗口大小时,通过如皮肤计算窗口的期望大小
 
COLORREF GetBkgndColor () SCONST PURE
 获取窗口背景色
 
void SetWindowText (LPCTSTR lpszText) PURE
 设计窗口显示文本
 
void SetWindowTextU8 (LPCSTR lpszText) PURE
 设计窗口显示文本
 
int GetWindowText (TCHAR *pBuf, int nBufLen, BOOL bRawText) PURE
 获取窗口显示文本
 
int GetWindowTextU8 (IStringA *pStr, BOOL bRawText) PURE
 
DWORD GetState () SCONST PURE
 获取窗口状态
 
DWORD ModifyState (DWORD dwStateAdd, DWORD dwStateRemove, BOOL bUpdate DEF_VAL(FALSE)) PURE
 修改窗口状态
 
IWindowGetISelectedSiblingInGroup () PURE
 获得在一个group中选中状态的窗口
 
IWindowGetISelectedChildInGroup () PURE
 获取有选择状态的子窗口
 
BOOL IsSiblingsAutoGroupped () SCONST PURE
 同类型兄弟窗口自动成组标志
 
BOOL CreateCaret (HBITMAP pBmp, int nWid, int nHeight) PURE
 创建光标
 
void ShowCaret (BOOL bShow) PURE
 控制光标显示/隐藏
 
void SetCaretPos (int x, int y) PURE
 设置光标显示位置
 
void SetEventMute (BOOL bMute) PURE
 设置当前控件是否允许发出事件
 
BOOL SubscribeEvent (DWORD evtId, const IEvtSlot *pSlot) PURE
 订阅窗口事件
 
BOOL UnsubscribeEvent (DWORD evtId, const IEvtSlot *pSlot) PURE
 取消窗口事件订阅
 
BOOL AddEvent (DWORD dwEventID, LPCWSTR pszEventHandlerName) PURE
 增加窗口事件
 
BOOL RemoveEvent (DWORD dwEventID) PURE
 删除窗口事件
 
BOOL FireEvent (IEvtArgs *evt) PURE
 发射一个事件到应用层
 
BOOL FireCommand () PURE
 激活窗口的EVT_CMD事件
 
BOOL FireCtxMenu (POINT pt) PURE
 激活快捷菜单事件
 
BOOL SwndProc (UINT uMsg, WPARAM wParam, LPARAM lParam, LRESULT *lResult) PURE
 默认的消息处理函数
 
void SetSwndProc (FunSwndProc swndProc) PURE
 设置消息处理函数
 
HWND GetHostHwnd () PURE
 获取Host Hwnd
 
ITimelineHandlersMgrGetTimelineHandlersMgr () PURE
 获取ITimelineHandlersMgr
 
BOOL IsVideoCanvas () SCONST PURE
 查询窗口是否为视频窗口
 
BOOL RegisterDragDrop (IDropTarget *pDragTarget) PURE
 
BOOL UnregisterDragDrop () PURE
 
- Public Member Functions inherited from IObject
long AddRef () PURE
 添加引用
 
long Release () PURE
 释放引用
 
void OnFinalRelease () PURE
 释放对象
 
BOOL IsClass (LPCWSTR lpszName) SCONST PURE
 判断this是不是属于指定的类型
 
LPCWSTR GetObjectClass () SCONST PURE
 获得类型名
 
int GetObjectType () SCONST PURE
 获得对象类型
 
int GetID () SCONST PURE
 获取对象ID
 
void SetID (int nID) PURE
 设置对象ID
 
LPCWSTR GetName () SCONST PURE
 获取对象Name
 
LPCSTR GetNameA () SCONST PURE
 
void SetName (LPCWSTR pszName) PURE
 设置对象Name
 
BOOL InitFromXml (IXmlNode *xmlNode) PURE
 从XML结节初始化SObject对象
 
void OnInitFinished (IXmlNode *xmlNode) PURE
 属性初始化完成处理接口
 
HRESULT ISetAttribute (const IStringW *strAttribName, const IStringW *strValue, BOOL bLoading) PURE
 设置一个对象属性
 
HRESULT SetAttributeA (LPCSTR pszAttr, LPCSTR pszValue, BOOL bLoading DEF_VAL(FALSE)) PURE
 设置一个对象属性
 
HRESULT SetAttribute (LPCWSTR pszAttr, LPCWSTR pszValue, BOOL bLoading DEF_VAL(FALSE)) PURE
 设置一个对象属性
 
BOOL GetAttribute (LPCWSTR strAttr, IStringW *pValue) SCONST PURE
 通过属性名查询属性值
 
HRESULT AfterAttribute (LPCWSTR pszAttr, LPCWSTR pszValue, BOOL bLoading, HRESULT hr) PURE
 属性处理后调用的方法
 
void SetAttrHandler (FunAttrHandler attrHandler) PURE
 设置属性处理回调方法
 

Protected Member Functions

virtual SWindowGetDropDownOwner ()
 Get the owner window.
 
virtual void OnCreateDropDown (SDropDownWnd *pDropDown)
 Handle creation of the dropdown window.
 
virtual void OnDestroyDropDown (SDropDownWnd *pDropDown)
 Handle destruction of the dropdown window.
 
virtual void OnSelChanged ()
 Handle selection change in the dropdown window.
 
void UpdateDropdown (const SStringT &strInput)
 Update the dropdown list based on input.
 
BOOL CalcPopupRect (int nHeight, CRect &rcPopup)
 Calculate the popup rectangle.
 
virtual BOOL CreateListBox (SXmlNode xmlNode)=0
 Create the list box.
 
virtual int GetListBoxHeight ()=0
 Get the height of the list box.
 
void GetDropBtnRect (LPRECT prc)
 Get the rectangle of the dropdown button.
 
virtual BOOL CreateChildren (SXmlNode xmlNode)
 Create child controls.
 
virtual void GetTextRect (LPRECT pRect)
 Get the rectangle of the text.
 
virtual void OnColorize (COLORREF cr)
 Handle colorization event.
 
virtual HRESULT OnLanguageChanged ()
 Handle language change event.
 
virtual void OnScaleChanged (int nScale)
 Handle scale change event.
 
void OnPaint (IRenderTarget *pRT)
 Paint the control.
 
void OnLButtonDown (UINT nFlags, CPoint pt)
 Handle left mouse button down event.
 
void OnMouseMove (UINT nFlags, CPoint pt)
 Handle mouse move event.
 
void OnMouseLeave ()
 Handle mouse leave event.
 
void OnKeyDown (TCHAR nChar, UINT nRepCnt, UINT nFlags)
 Handle key down event.
 
BOOL OnMouseWheel (UINT nFlags, short zDelta, CPoint pt)
 Handle mouse wheel event.
 
void OnChar (UINT nChar, UINT nRepCnt, UINT nFlags)
 Handle character input event.
 
void OnDestroy ()
 Handle destroy event.
 
int OnCreate (LPVOID)
 Handle create event.
 
void OnKillFocus (SWND wndFocus)
 Handle kill focus event.
 
SStringT GetCueText (BOOL bRawText=FALSE) const
 Get the cue text.
 
HRESULT OnAttrDropDown (const SStringW &strValue, BOOL bLoading)
 Handle custom attribute "dropDown".
 
 SOUI_ATTRS_BEGIN () ATTR_CUSTOM(L"dropDown"
 
OnAttrDropDown ATTR_LAYOUTSIZE (L"dropHeight", m_nDropHeight, TRUE) ATTR_INT(L"curSel"
 
OnAttrDropDown FALSE ATTR_SKIN (L"btnSkin", m_pSkinBtn, TRUE) ATTR_INT(L"animateTime"
 
OnAttrDropDown FALSE FALSE ATTR_INT (L"autoFitDropBtn", m_bAutoFitDropBtn, TRUE) ATTR_COLOR(L"cueColor"
 
OnAttrDropDown FALSE FALSE TRUE ATTR_I18NSTRT (L"cueText", m_strCue, TRUE) ATTR_BOOL(L"autoMatch"
 
- Protected Member Functions inherited from SWindow
IScriptModuleGetScriptModule ()
 
void InvalidateRect (const CRect &rect, BOOL bFromThis=TRUE, BOOL bClip=FALSE)
 
STransformation GetTransformation () const
 
BOOL CreateChild (SXmlNode xmlChild)
 
void CreateChilds (SXmlNode xmlNode)
 
void OnAnimationStart (IAnimation *animation)
 
void OnAnimationStop (IAnimation *animation)
 
void OnAnimationRepeat (IAnimation *animation)
 
void OnAnimationPauseChange (IAnimation *animation, BOOL bPaused)
 
virtual void OnAnimationInvalidate (IAnimation *pAni, bool bErase)
 
virtual void OnContentChanged ()
 
virtual BOOL OnSetCursor (const CPoint &pt)
 
virtual void OnStateChanging (DWORD dwOldState, DWORD dwNewState)
 
virtual void OnStateChanged (DWORD dwOldState, DWORD dwNewState)
 
virtual void OnCaptureChanged (BOOL bCaptured)
 
virtual BOOL OnRelayout (const CRect &rcWnd)
 Handle window position changes.
 
bool IsCacheDirty () const
 Checks if the cache is marked as dirty.
 
void MarkCacheDirty (bool bDirty)
 Marks the cache as dirty.
 
virtual bool IsDrawToCache () const
 Checks if the window content is being drawn to the cache.
 
virtual BOOL IsLayeredWindow () const
 Determines if the window requires a render layer.
 
virtual void DispatchPaint (IRenderTarget *pRT, IRegionS *pRgn, UINT iZorderBegin, UINT iZorderEnd)
 Handles paint dispatching for the window.
 
virtual void OnCommitSurface (IRenderTarget *pRtDest, LPCRECT pRcDest, IRenderTarget *pRtSrc, LPCRECT pRcSrc, BYTE alpha)
 Commits surface changes.
 
virtual SWindow_FindChildByID (int nID, int nDeep)
 Finds a child window by ID.
 
virtual SWindow_FindChildByName (const SStringW &strName, int nDeep)
 Finds a child window by name.
 
SWindow_GetCurrentLayeredWindow ()
 Retrieves the host window for the current render layer.
 
bool _ApplyMatrix (IRenderTarget *pRT, SMatrix &oriMtx)
 Applies a transformation matrix to the RenderTarget.
 
SMatrix _GetMatrixEx () const
 Retrieves the extended transformation matrix for the window.
 
bool _WndRectInRgn (const CRect &rc, const IRegionS *rgn) const
 Checks if the window rectangle lies within a specified region.
 
void _PaintClient (IRenderTarget *pRT)
 
void _PaintNonClient (IRenderTarget *pRT)
 
void _RedrawNonClient ()
 
void _PaintRegion (IRenderTarget *pRT, IRegionS *pRgn, UINT iZorderBegin, UINT iZorderEnd)
 
void _PaintChildren (IRenderTarget *pRT, IRegionS *pRgn, UINT iBeginZorder, UINT iEndZorder)
 
void DrawDefFocusRect (IRenderTarget *pRT, CRect rc)
 
void UpdateCacheMode ()
 
void TestMainThread ()
 
void GetScaleSkin (SAutoRefPtr< ISkinObj > &pSkin, int nScale)
 
int OnCreate (LPVOID)
 Handles the creation of the window.
 
void OnSize (UINT nType, CSize size)
 Handles the resizing of the window.
 
void OnDestroy ()
 Handles the destruction of the window.
 
BOOL OnEraseBkgnd (IRenderTarget *pRT)
 Handles the erasing of the background.
 
void OnPaint (IRenderTarget *pRT)
 Handles the painting of the window.
 
void OnNcPaint (IRenderTarget *pRT)
 Handles the painting of the non-client area.
 
void OnShowWindow (BOOL bShow, UINT nStatus)
 Handles showing or hiding the window.
 
void OnEnable (BOOL bEnable, UINT nStatus)
 Handles enabling or disabling the window.
 
void OnLButtonDown (UINT nFlags, CPoint pt)
 Handles the left mouse button down event.
 
void OnLButtonDbClick (UINT nFlags, CPoint point)
 Handles the left mouse button double-click event.
 
void OnLButtonUp (UINT nFlags, CPoint pt)
 Handles the left mouse button up event.
 
void OnRButtonDown (UINT nFlags, CPoint point)
 Handles the right mouse button down event.
 
void OnRButtonUp (UINT nFlags, CPoint point)
 Handles the right mouse button up event.
 
void OnMouseHover (UINT nFlags, CPoint ptPos)
 Handles the mouse hover event.
 
void OnMouseMove (UINT nFlags, CPoint pt)
 Handles the mouse move event.
 
void OnMouseLeave ()
 Handles the mouse leave event.
 
BOOL OnMouseWheel (UINT nFlags, short zDelta, CPoint pt)
 Handles the mouse wheel event.
 
LRESULT OnMouseClick (UINT uMsg, WPARAM wParam, LPARAM lParam)
 Handles general mouse click events.
 
void OnSetFocus (SWND wndOld)
 Handles gaining focus.
 
void OnKillFocus (SWND wndFocus)
 Handles losing focus.
 
LRESULT OnSetScale (UINT uMsg, WPARAM wParam, LPARAM lParam)
 Handles setting the scale of the window.
 
LRESULT OnSetLanguage (UINT uMsg, WPARAM wParam, LPARAM lParam)
 Handles setting the language of the window.
 
LRESULT OnSetColorize (UINT uMsg, WPARAM wParam, LPARAM lParam)
 Handles setting the colorization of the window.
 
LRESULT OnUpdateFont (UINT uMsg, WPARAM wParam, LPARAM lParam)
 Handles updating the font of the window.
 
 SOUI_MSG_MAP_BEGIN () MSG_WM_PAINT_EX(OnPaint) MSG_WM_ERASEBKGND_EX(OnEraseBkgnd) MSG_WM_NCPAINT_EX(OnNcPaint) MSG_WM_CREATE(OnCreate) MSG_WM_SIZE(OnSize) MSG_WM_DESTROY(OnDestroy) MSG_WM_SHOWWINDOW(OnShowWindow) MSG_WM_ENABLE_EX(OnEnable) MESSAGE_RANGE_HANDLER_EX(WM_LBUTTONDOWN
 
OnMouseClick MSG_WM_LBUTTONDOWN (OnLButtonDown) MSG_WM_LBUTTONUP(OnLButtonUp) MSG_WM_LBUTTONDBLCLK(OnLButtonDbClick) MSG_WM_RBUTTONDOWN(OnRButtonDown) MSG_WM_RBUTTONUP(OnRButtonUp) MSG_WM_MOUSEMOVE(OnMouseMove) MSG_WM_MOUSEHOVER(OnMouseHover) MSG_WM_MOUSELEAVE(OnMouseLeave) MSG_WM_MOUSEWHEEL(OnMouseWheel) MSG_WM_SETFOCUS_EX(OnSetFocus) MSG_WM_KILLFOCUS_EX(OnKillFocus) MESSAGE_HANDLER_EX(UM_SETLANGUAGE
 
OnMouseClick OnSetLanguage MESSAGE_HANDLER_EX (UM_SETSCALE, OnSetScale) MESSAGE_HANDLER_EX(UM_SETCOLORIZE
 
OnMouseClick OnSetLanguage OnSetColorize MESSAGE_HANDLER_EX(UM_UPDATEFONT, OnUpdateFont) SOUI_MSG_MAP_END_BASE() protected HRESULT OnAttrEnable (const SStringW &strValue, BOOL bLoading)
 Handles the 'visible' attribute.
 
HRESULT OnAttrDisplay (const SStringW &strValue, BOOL bLoading)
 Handles the 'display' attribute.
 
HRESULT OnAttrCache (const SStringW &strValue, BOOL bLoading)
 Handles the 'cache' attribute.
 
HRESULT OnAttrAlpha (const SStringW &strValue, BOOL bLoading)
 Handles the 'alpha' attribute.
 
HRESULT OnAttrSkin (const SStringW &strValue, BOOL bLoading)
 Handles the 'skin' attribute.
 
HRESULT OnAttrLayout (const SStringW &strValue, BOOL bLoading)
 Handles the 'layout' attribute.
 
HRESULT OnAttrClass (const SStringW &strValue, BOOL bLoading)
 Handles the 'class' attribute.
 
HRESULT OnAttrTrackMouseEvent (const SStringW &strValue, BOOL bLoading)
 Handles the 'trackMouseEvent' attribute.
 
HRESULT OnAttrVideoCanvas (const SStringW &strValue, BOOL bLoading)
 Handles the 'videoCanvas' attribute.
 
HRESULT OnAttrID (const SStringW &strValue, BOOL bLoading)
 Handles the 'id' attribute.
 
HRESULT OnAttrName (const SStringW &strValue, BOOL bLoading)
 Handles the 'name' attribute.
 
HRESULT OnAttrTip (const SStringW &strValue, BOOL bLoading)
 Handles the 'tip' attribute.
 
HRESULT OnAttrText (const SStringW &strValue, BOOL bLoading)
 Handles the 'text' attribute.
 
HRESULT DefAttributeProc (const SStringW &strAttribName, const SStringW &strValue, BOOL bLoading)
 Default attribute processing function.
 
virtual HRESULT AfterAttribute (const SStringW &strAttribName, const SStringW &strValue, BOOL bLoading, HRESULT hr)
 Called after an attribute is processed.
 
 SOUI_ATTRS_BEGIN () ATTR_CUSTOM(L"layout"
 
OnAttrLayout ATTR_CUSTOM (L"class", OnAttrClass) ATTR_CUSTOM(L"id"
 
OnAttrLayout OnAttrID ATTR_CUSTOM (L"name", OnAttrName) ATTR_CUSTOM(L"skin"
 
OnAttrLayout OnAttrID OnAttrSkin ATTR_SKIN (L"ncskin", m_pNcSkin, TRUE) ATTR_INT(L"data"
 
OnAttrLayout OnAttrID OnAttrSkin ATTR_CUSTOM (L"text", OnAttrText) ATTR_STRINGW(L"trCtx"
 
OnAttrLayout OnAttrID OnAttrSkin FALSE ATTR_CUSTOM (L"enable", OnAttrEnable) ATTR_CUSTOM(L"visible"
 
OnAttrLayout OnAttrID OnAttrSkin FALSE OnAttrVisible ATTR_CUSTOM (L"show", OnAttrVisible) ATTR_CUSTOM(L"display"
 
OnAttrLayout OnAttrID OnAttrSkin FALSE OnAttrVisible OnAttrDisplay ATTR_CUSTOM (L"cache", OnAttrCache) ATTR_CUSTOM(L"alpha"
 
OnAttrLayout OnAttrID OnAttrSkin FALSE OnAttrVisible OnAttrDisplay OnAttrAlpha ATTR_BOOL (L"layeredWindow", m_bLayeredWindow, TRUE) ATTR_CUSTOM(L"trackMouseEvent"
 
OnAttrLayout OnAttrID OnAttrSkin FALSE OnAttrVisible OnAttrDisplay OnAttrAlpha OnAttrTrackMouseEvent ATTR_CUSTOM (L"videoCanvas", OnAttrVideoCanvas) ATTR_CUSTOM(L"tip"
 
OnAttrLayout OnAttrID OnAttrSkin FALSE OnAttrVisible OnAttrDisplay OnAttrAlpha OnAttrTrackMouseEvent OnAttrTip ATTR_BOOL (L"msgTransparent", m_bMsgTransparent, FALSE) ATTR_LAYOUTSIZE(L"maxWidth"
 
OnAttrLayout OnAttrID OnAttrSkin FALSE OnAttrVisible OnAttrDisplay OnAttrAlpha OnAttrTrackMouseEvent OnAttrTip FALSE ATTR_BOOL (L"clipClient", m_bClipClient, FALSE) ATTR_BOOL(L"focusable"
 
OnAttrLayout OnAttrID OnAttrSkin FALSE OnAttrVisible OnAttrDisplay OnAttrAlpha OnAttrTrackMouseEvent OnAttrTip FALSE FALSE ATTR_BOOL (L"drawFocusRect", m_bDrawFocusRect, TRUE) ATTR_BOOL(L"hoverAware"
 
OnAttrLayout OnAttrID OnAttrSkin FALSE OnAttrVisible OnAttrDisplay OnAttrAlpha OnAttrTrackMouseEvent OnAttrTip FALSE FALSE FALSE ATTR_BOOL (L"float", m_bFloat, FALSE) ATTR_CHAIN(m_style
 
OnAttrLayout OnAttrID OnAttrSkin FALSE OnAttrVisible OnAttrDisplay OnAttrAlpha OnAttrTrackMouseEvent OnAttrTip FALSE FALSE FALSE HRET_FLAG_STYLE ATTR_CHAIN_PTR (m_pLayout, HRET_FLAG_LAYOUT) ATTR_CHAIN_PTR(m_pLayoutParam
 
virtual void OnRebuildFont ()
 Called when the font of the window needs to be rebuilt.
 
virtual void OnBeforeInsertChild (SWindow *pChild)
 Called before a child window is inserted into this window.
 
virtual void OnAfterInsertChild (SWindow *pChild)
 Called after a child window has been inserted into this window.
 
virtual void OnBeforeRemoveChild (SWindow *pChild)
 Called before a child window is removed from this window.
 
virtual void OnAfterRemoveChild (SWindow *pChild)
 Called after a child window has been removed from this window.
 
virtual void OnContainerChanged (ISwndContainer *pOldContainer, ISwndContainer *pNewContainer)
 Called when the container of the window changes.
 
- Protected Member Functions inherited from IAnimationListener
void OnAnimationStart (IAnimation *animation) PURE
 通知动画开始
 
void OnAnimationStop (IAnimation *animation) PURE
 通知动画结束。对于重复次数设置为INFINITE的动画,不会调用此回调。
 
void OnAnimationRepeat (IAnimation *animation) PURE
 通知动画重复
 
void OnAnimationPauseChange (IAnimation *animation, BOOL bPaused) PURE
 通知动画暂停状态变化
 

Protected Attributes

OnAttrDropDown m_iInitSel
 
OnAttrDropDown FALSE m_nAnimTime
 
OnAttrDropDown FALSE FALSE m_crCue
 
OnAttrDropDown FALSE FALSE TRUE m_bAutoMatch
 
OnAttrDropDown FALSE FALSE TRUE FALSE ATTR_BOOL(L"autoDropdown", m_bAutoDropdown, FALSE) SOUI_ATTRS_END() SOUI_MSG_MAP_BEGIN() MSG_WM_PAINT_EX(OnPaint) MSG_WM_LBUTTONDOWN(OnLButtonDown) MSG_WM_MOUSEMOVE(OnMouseMove) MSG_WM_MOUSELEAVE(OnMouseLeave) MSG_WM_MOUSEWHEEL(OnMouseWheel) MSG_WM_KEYDOWN(OnKeyDown) MSG_WM_CHAR(OnChar) MSG_WM_DESTROY(OnDestroy) MSG_WM_CREATE(OnCreate) MSG_WM_KILLFOCUS_EX(OnKillFocus) SOUI_MSG_MAP_END() protected DWORD m_dwBtnState
 Get the text from the edit control.
 
SAutoRefPtr< ISkinObjm_pSkinBtn
 
BOOL m_bDropdown
 
SLayoutSize m_nDropHeight
 
int m_nAnimTime
 
int m_iInitSel
 
SDropDownWndm_pDropDownWnd
 
SXmlDoc m_xmlDropdownStyle
 
BOOL m_bAutoFitDropBtn
 
COLORREF m_crCue
 
STrText m_strCue
 
SStringT m_strMatch
 
DWORD m_LastPressTime
 
BOOL m_bAutoMatch
 
BOOL m_bAutoDropdown
 
int m_nTextLength
 
- Protected Attributes inherited from SWindow
 WM_MBUTTONDBLCLK
 
OnAttrLayout OnAttrID OnAttrSkin m_uData
 
OnAttrLayout OnAttrID OnAttrSkin m_strTrCtx
 
OnAttrLayout OnAttrID OnAttrSkin FALSE OnAttrVisible OnAttrDisplay OnAttrAlpha OnAttrTrackMouseEvent OnAttrTip m_nMaxWidth
 
OnAttrLayout OnAttrID OnAttrSkin FALSE OnAttrVisible OnAttrDisplay OnAttrAlpha OnAttrTrackMouseEvent OnAttrTip FALSE m_bFocusable
 
OnAttrLayout OnAttrID OnAttrSkin FALSE OnAttrVisible OnAttrDisplay OnAttrAlpha OnAttrTrackMouseEvent OnAttrTip FALSE FALSE m_bHoverAware
 
SWND m_swnd
 Member variables representing various properties of the window.
 
BOOL m_bFloat
 
ISwndContainerm_pContainer
 
SEventSet m_evtSet
 
SAutoRefPtr< ILayoutm_pLayout
 
SAutoRefPtr< ILayoutParamm_pLayoutParam
 
SWindowm_pOwner
 
SWindowm_pParent
 
SWindowm_pFirstChild
 
SWindowm_pLastChild
 
SWindowm_pNextSibling
 
SWindowm_pPrevSibling
 
UINT m_nChildrenCount
 
SWNDMSGm_pCurMsg
 
SwndStyle m_style
 
STrText m_strText
 
STrText m_strToolTipText
 
SStringW m_strTrCtx
 
UINT m_uZorder
 
int m_nUpdateLockCnt
 
BOOL m_dwState
 
BOOL m_bVisible
 
BOOL m_bDisable
 
BOOL m_bDisplay
 
BOOL m_bClipClient
 
BOOL m_bMsgTransparent
 
BOOL m_bFocusable
 
BOOL m_bDrawFocusRect
 
BOOL m_bCacheDraw
 
BOOL m_bCacheDirty
 
BOOL m_bLayeredWindow
 
BOOL m_isLoading
 
BOOL m_bHoverAware
 
BOOL m_bMsgHandled
 
LayoutDirtyType m_layoutDirty
 
SAutoRefPtr< IRenderTargetm_cachedRT
 
SAutoRefPtr< IRegionSm_clipRgn
 
SAutoRefPtr< IPathSm_clipPath
 
SAutoRefPtr< ISkinObjm_pBgSkin
 
SAutoRefPtr< ISkinObjm_pNcSkin
 
ULONG_PTR m_uData
 
SLayoutSize m_nMaxWidth
 
COLORREF m_crColorize
 
SAutoRefPtr< IAnimationm_animation
 
SAnimationHandler m_animationHandler
 
STransformation m_transform
 
bool m_isAnimating
 
bool m_isDestroying
 
PGETRTDATA m_pGetRTData
 
SAutoRefPtr< IAttrStoragem_attrStorage
 
SAutoRefPtr< ICaretm_caret
 
FunSwndProc m_funSwndProc
 
- Protected Attributes inherited from TObjRefImpl< SObjectImpl< IWindow > >
LONG m_cRef
 
- Protected Attributes inherited from SObjectImpl< IWindow >
SStringW m_strName
 
int m_nID
 
FunAttrHandler m_attrHandler
 

Additional Inherited Members

- Static Public Member Functions inherited from SWindow
static SStringW GetXmlText (const SXmlNode &xmlNode)
 Gets the XML text from a node.
 
- Static Public Member Functions inherited from SObjectImpl< IWindow >
static int GetClassType ()
 Retrieves the class type.
 
static LPCWSTR GetClassName ()
 Retrieves the class name.
 
static LPCWSTR GetClassAlias ()
 Retrieves the class alias.
 
static void MarkAttributeHandled (SXmlAttr xmlAttr, bool bHandled)
 Marks an attribute as handled.
 
static bool IsAttributeHandled (SXmlAttr xmlAttr)
 Checks if an attribute is handled.
 
- Protected Types inherited from SWindow
enum  LayoutDirtyType { dirty_clean = 0 , dirty_self = 1 , dirty_child = 2 }
 Enumerates the types of layout dirty states. More...
 
typedef struct SWindow::GETRTDATAPGETRTDATA
 

Detailed Description

Definition at line 93 of file SComboBase.h.

Member Function Documentation

◆ CalcPopupRect()

BOOL SComboBase::CalcPopupRect ( int nHeight,
CRect & rcPopup )
protected

Calculate the popup rectangle.

Parameters
nHeightHeight of the dropdown window
rcPopupOutput rectangle for the popup
Returns
TRUE if successful, FALSE otherwise

Definition at line 404 of file SComboBase.cpp.

◆ CloseUp()

void SComboBase::CloseUp ( )

Close the dropped list box.

Definition at line 511 of file SComboBase.cpp.

◆ CreateChildren()

BOOL SComboBase::CreateChildren ( SXmlNode xmlNode)
protectedvirtual

Create child controls.

Parameters
xmlNodeXML node for the child controls
Returns
TRUE if successful, FALSE otherwise

Reimplemented from SWindow.

Definition at line 106 of file SComboBase.cpp.

◆ CreateListBox()

virtual BOOL SComboBase::CreateListBox ( SXmlNode xmlNode)
protectedpure virtual

Create the list box.

Parameters
xmlNodeXML node for the list box
Returns
TRUE if successful, FALSE otherwise

Implemented in SComboBox, and SComboView.

◆ DropDown()

void SComboBase::DropDown ( )

Drop down the list box.

Definition at line 437 of file SComboBase.cpp.

◆ FindString()

int SComboBase::FindString ( LPCTSTR pszFind,
int nAfter = -1,
BOOL bPartMatch = TRUE )

Find string in the list box.

Parameters
pszFindString to find
nAfterIndex after which to start searching
bPartMatchWhether to allow partial matches
Returns
Index of the found string or -1 if not found

Definition at line 583 of file SComboBase.cpp.

◆ FindStringA()

int SComboBase::FindStringA ( LPCSTR pszFind,
int nAfter = -1,
BOOL bPartMatch = TRUE )
inline

Find string in the list box (ANSI version)

Parameters
pszFindString to find
nAfterIndex after which to start searching
bPartMatchWhether to allow partial matches
Returns
Index of the found string or -1 if not found

Definition at line 127 of file SComboBase.h.

◆ FireEvent()

BOOL SComboBase::FireEvent ( IEvtArgs * evt)

Notify event.

Parameters
evtEvent object
Returns
Success–TRUE Failure–FALSE

Definition at line 546 of file SComboBase.cpp.

◆ GetCueText()

SStringT SComboBase::GetCueText ( BOOL bRawText = FALSE) const
protected

Get the cue text.

Parameters
bRawTextWhether to get raw text
Returns
Cue text

Definition at line 750 of file SComboBase.cpp.

◆ GetDesiredSize()

void SComboBase::GetDesiredSize ( SIZE * psz,
int nParentWid,
int nParentHei )

Get the desired size of the control.

Parameters
pszOutput size
nParentWidParent container width
nParentHeiParent container height

Definition at line 606 of file SComboBase.cpp.

◆ GetDropBtnRect()

void SComboBase::GetDropBtnRect ( LPRECT prc)
protected

Get the rectangle of the dropdown button.

Parameters
prcOutput rectangle for the button

Definition at line 133 of file SComboBase.cpp.

◆ GetDropDownOwner()

SWindow * SComboBase::GetDropDownOwner ( )
protectedvirtual

Get the owner window.

Returns
Owner window pointer

Implements ISDropDownOwner.

Definition at line 351 of file SComboBase.cpp.

◆ GetLBText()

SStringT SComboBase::GetLBText ( int iItem,
BOOL bRawText = FALSE )

Get the text of a list box item.

Parameters
iItemItem index
bRawTextWhether to get raw text
Returns
Item text

Definition at line 763 of file SComboBase.cpp.

◆ GetListBoxHeight()

virtual int SComboBase::GetListBoxHeight ( )
protectedpure virtual

Get the height of the list box.

Returns
Height of the list box

Implemented in SComboBox, and SComboView.

◆ GetTextRect()

void SComboBase::GetTextRect ( LPRECT pRect)
protectedvirtual

Get the rectangle of the text.

Parameters
pRectOutput rectangle for the text

Reimplemented from SWindow.

Definition at line 152 of file SComboBase.cpp.

◆ GetWindowText()

SStringT SComboBase::GetWindowText ( BOOL bRawText = FALSE)
virtual

Get the window text.

Parameters
bRawTextWhether to get raw text
Returns
Window text

Reimplemented from SWindow.

Definition at line 663 of file SComboBase.cpp.

◆ IsDropdown()

BOOL SComboBase::IsDropdown ( )

Check if the list box is dropped down.

Returns
TRUE if dropped down, FALSE otherwise

Definition at line 739 of file SComboBase.cpp.

◆ IsFocusable()

BOOL SComboBase::IsFocusable ( )

Check if the control is focusable.

Returns
TRUE if focusable, FALSE otherwise

Definition at line 344 of file SComboBase.cpp.

◆ OnAttrDropDown()

HRESULT SComboBase::OnAttrDropDown ( const SStringW & strValue,
BOOL bLoading )
protected

Handle custom attribute "dropDown".

Parameters
strValueAttribute value
bLoadingLoading flag
Returns
HRESULT

Definition at line 687 of file SComboBase.cpp.

◆ OnChar()

void SComboBase::OnChar ( UINT nChar,
UINT nRepCnt,
UINT nFlags )
protected

Handle character input event.

Parameters
nCharCharacter code
nRepCntRepeat count
nFlagsFlags

Definition at line 328 of file SComboBase.cpp.

◆ OnColorize()

void SComboBase::OnColorize ( COLORREF cr)
protectedvirtual

Handle colorization event.

Parameters
crColor

Reimplemented from SWindow.

Definition at line 708 of file SComboBase.cpp.

◆ OnCreate()

int SComboBase::OnCreate ( LPVOID )
protected

Handle create event.

Parameters
lpCreation parameters
Returns
0 if successful

Definition at line 529 of file SComboBase.cpp.

◆ OnCreateDropDown()

void SComboBase::OnCreateDropDown ( SDropDownWnd * pDropDown)
protectedvirtual

Handle creation of the dropdown window.

Parameters
pDropDownDropdown window pointer

Implements ISDropDownOwner.

Reimplemented in SComboBox, and SComboView.

Definition at line 357 of file SComboBase.cpp.

◆ OnDestroy()

void SComboBase::OnDestroy ( )
protected

Handle destroy event.

Definition at line 523 of file SComboBase.cpp.

◆ OnDestroyDropDown()

void SComboBase::OnDestroyDropDown ( SDropDownWnd * pDropDown)
protectedvirtual

Handle destruction of the dropdown window.

Parameters
pDropDownDropdown window pointer
uCodeMessage code

Implements ISDropDownOwner.

Reimplemented in SComboBox, and SComboView.

Definition at line 380 of file SComboBase.cpp.

◆ OnGetDlgCode()

UINT SComboBase::OnGetDlgCode ( )

Get dialog code.

Returns
Dialog code

Definition at line 339 of file SComboBase.cpp.

◆ OnKeyDown()

void SComboBase::OnKeyDown ( TCHAR nChar,
UINT nRepCnt,
UINT nFlags )
protected

Handle key down event.

Parameters
nCharKey code
nRepCntRepeat count
nFlagsFlags

Definition at line 241 of file SComboBase.cpp.

◆ OnKillFocus()

void SComboBase::OnKillFocus ( SWND wndFocus)
protected

Handle kill focus event.

Parameters
wndFocusNew focus window handle

Definition at line 681 of file SComboBase.cpp.

◆ OnLanguageChanged()

HRESULT SComboBase::OnLanguageChanged ( )
protectedvirtual

Handle language change event.

Returns
HRESULT

Reimplemented in SComboBox, and SComboView.

Definition at line 719 of file SComboBase.cpp.

◆ OnLButtonDown()

void SComboBase::OnLButtonDown ( UINT nFlags,
CPoint pt )
protected

Handle left mouse button down event.

Parameters
nFlagsFlags
ptMouse coordinates

Definition at line 198 of file SComboBase.cpp.

◆ OnMouseLeave()

void SComboBase::OnMouseLeave ( )
protected

Handle mouse leave event.

Definition at line 225 of file SComboBase.cpp.

◆ OnMouseMove()

void SComboBase::OnMouseMove ( UINT nFlags,
CPoint pt )
protected

Handle mouse move event.

Parameters
nFlagsFlags
ptMouse coordinates

Definition at line 205 of file SComboBase.cpp.

◆ OnMouseWheel()

BOOL SComboBase::OnMouseWheel ( UINT nFlags,
short zDelta,
CPoint pt )
protected

Handle mouse wheel event.

Parameters
nFlagsFlags
zDeltaWheel delta
ptMouse coordinates
Returns
TRUE if handled, FALSE otherwise

Definition at line 308 of file SComboBase.cpp.

◆ OnPaint()

void SComboBase::OnPaint ( IRenderTarget * pRT)
protected

Paint the control.

Parameters
pRTRendering target handle

Definition at line 162 of file SComboBase.cpp.

◆ OnScaleChanged()

void SComboBase::OnScaleChanged ( int nScale)
protectedvirtual

Handle scale change event.

Parameters
nScaleScale factor

Reimplemented from SWindow.

Reimplemented in SComboBox, and SComboView.

Definition at line 729 of file SComboBase.cpp.

◆ OnSelChanged()

void SComboBase::OnSelChanged ( )
protectedvirtual

Handle selection change in the dropdown window.

Reimplemented in SComboBox, and SComboView.

Definition at line 539 of file SComboBase.cpp.

◆ SetDropdown()

void SComboBase::SetDropdown ( BOOL bDropdown)

Set the dropdown state.

Parameters
bDropdownTRUE to drop down, FALSE to close up

Definition at line 744 of file SComboBase.cpp.

◆ SetFocus()

void SComboBase::SetFocus ( )

Set focus to the control.

Definition at line 755 of file SComboBase.cpp.

◆ SetWindowText()

void SComboBase::SetWindowText ( LPCTSTR pszText)

Set the window text.

Parameters
pszTextText to set

Definition at line 674 of file SComboBase.cpp.

◆ UpdateChildrenPosition()

void SComboBase::UpdateChildrenPosition ( )

Update the position of child controls.

Definition at line 696 of file SComboBase.cpp.

◆ UpdateDropdown()

void SComboBase::UpdateDropdown ( const SStringT & strInput)
protected

Update the dropdown list based on input.

Parameters
strInputInput string

Definition at line 475 of file SComboBase.cpp.

Member Data Documentation

◆ m_bAutoDropdown

BOOL SComboBase::m_bAutoDropdown
protected

Automatically update the dropdown list on edit input

Definition at line 448 of file SComboBase.h.

◆ m_bAutoFitDropBtn

BOOL SComboBase::m_bAutoFitDropBtn
protected

Auto-fit dropdown button size

Definition at line 441 of file SComboBase.h.

◆ m_bAutoMatch [1/2]

OnAttrDropDown FALSE FALSE TRUE SComboBase::m_bAutoMatch
protected

Definition at line 397 of file SComboBase.h.

◆ m_bAutoMatch [2/2]

BOOL SComboBase::m_bAutoMatch
protected

Automatically match from the dropdown list on edit input

Definition at line 447 of file SComboBase.h.

◆ m_bDropdown

BOOL SComboBase::m_bDropdown
protected

Editable or dropdown-only

Definition at line 435 of file SComboBase.h.

◆ m_crCue [1/2]

OnAttrDropDown FALSE FALSE SComboBase::m_crCue
protected

Definition at line 395 of file SComboBase.h.

◆ m_crCue [2/2]

COLORREF SComboBase::m_crCue
protected

Cue text color

Definition at line 442 of file SComboBase.h.

◆ m_dwBtnState

OnAttrDropDown FALSE FALSE TRUE FALSE ATTR_BOOL (L"autoDropdown", m_bAutoDropdown, FALSE) SOUI_ATTRS_END() SOUI_MSG_MAP_BEGIN() MSG_WM_PAINT_EX(OnPaint) MSG_WM_LBUTTONDOWN(OnLButtonDown) MSG_WM_MOUSEMOVE(OnMouseMove) MSG_WM_MOUSELEAVE(OnMouseLeave) MSG_WM_MOUSEWHEEL(OnMouseWheel) MSG_WM_KEYDOWN(OnKeyDown) MSG_WM_CHAR(OnChar) MSG_WM_DESTROY(OnDestroy) MSG_WM_CREATE(OnCreate) MSG_WM_KILLFOCUS_EX(OnKillFocus) SOUI_MSG_MAP_END() protected DWORD SComboBase::m_dwBtnState
protected

Get the text from the edit control.

Returns
Edit control text < Edit control pointer Button state

Definition at line 432 of file SComboBase.h.

◆ m_iInitSel [1/2]

OnAttrDropDown SComboBase::m_iInitSel
protected

Definition at line 391 of file SComboBase.h.

◆ m_iInitSel [2/2]

int SComboBase::m_iInitSel
protected

Initial selection index

Definition at line 438 of file SComboBase.h.

◆ m_LastPressTime

DWORD SComboBase::m_LastPressTime
protected

Last key press time

Definition at line 446 of file SComboBase.h.

◆ m_nAnimTime [1/2]

OnAttrDropDown FALSE SComboBase::m_nAnimTime
protected

Definition at line 393 of file SComboBase.h.

◆ m_nAnimTime [2/2]

int SComboBase::m_nAnimTime
protected

Animation time

Definition at line 437 of file SComboBase.h.

◆ m_nDropHeight

SLayoutSize SComboBase::m_nDropHeight
protected

Dropdown height

Definition at line 436 of file SComboBase.h.

◆ m_nTextLength

int SComboBase::m_nTextLength
protected

Definition at line 449 of file SComboBase.h.

◆ m_pDropDownWnd

SDropDownWnd* SComboBase::m_pDropDownWnd
protected

Dropdown window pointer

Definition at line 439 of file SComboBase.h.

◆ m_pSkinBtn

SAutoRefPtr<ISkinObj> SComboBase::m_pSkinBtn
protected

Button skin object

Definition at line 433 of file SComboBase.h.

◆ m_strCue

STrText SComboBase::m_strCue
protected

Cue text

Definition at line 443 of file SComboBase.h.

◆ m_strMatch

SStringT SComboBase::m_strMatch
protected

Quick input to locate items in the dropdown list

Definition at line 445 of file SComboBase.h.

◆ m_xmlDropdownStyle

SXmlDoc SComboBase::m_xmlDropdownStyle
protected

Dropdown style XML document

Definition at line 440 of file SComboBase.h.


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