图标控件
More...
#include <SCmnCtrl.h>
|
| SIconWnd () |
| 构造函数
|
|
virtual | ~SIconWnd () |
| 析构函数
|
|
void | SetIcon (HICON hIcon) OVERRIDE |
| 设置图标
|
|
virtual HRESULT | SetAttribute (const SNS::SStringW &amp;amp;amp;strAttribName, const SNS::SStringW &amp;amp;amp;strValue, BOOL bLoading=FALSE) |
|
图标控件
图标控件。 @usage <icon src="icon:16" />
Definition at line 1027 of file SCmnCtrl.h.
◆ SIconWnd()
◆ ~SIconWnd()
◆ MeasureContent()
SIZE SIconWnd::MeasureContent |
( |
int | wid, |
|
|
int | hei ) |
|
overrideprotectedvirtual |
◆ OnAttrIcon()
HRESULT SIconWnd::OnAttrIcon |
( |
const SStringW & | value, |
|
|
BOOL | bLoading ) |
|
protected |
◆ OnPaint()
◆ OnScaleChanged()
void SIconWnd::OnScaleChanged |
( |
int | scale | ) |
|
|
overrideprotectedvirtual |
Called when the scale of the window changes.
- Parameters
-
scale | The new scale value. |
Reimplemented from SWindow.
Definition at line 1197 of file SCmnCtrl.cpp.
◆ SetAttribute()
virtual HRESULT SIconWnd::SetAttribute |
( |
const SNS::SStringW &amp;amp;amp; | strAttribName, |
|
|
const SNS::SStringW &amp;amp;amp; | strValue, |
|
|
BOOL | bLoading = FALSE ) |
|
inlinevirtual |
◆ SetIcon()
void SIconWnd::SetIcon |
( |
HICON | hIcon | ) |
|
◆ m_strIconSrc
◆ m_theIcon
HICON SIconWnd::m_theIcon |
|
protected |
The documentation for this class was generated from the following files: