CBlueUI  
C++ 跨平台跨框架的数据可视化工具
载入中...
搜索中...
未找到
CShadowWnd类 参考

Public 类型

typedef BOOL(WINAPI * pfnUpdateLayeredWindow) (HWND hwnd, HDC hdcDst, POINT *pptDst, SIZE *psize, HDC hdcSrc, POINT *pptSrc, COLORREF crKey, BLENDFUNCTION *pblend, DWORD dwFlags)
typedef HRESULT(WINAPI * pfnDwmIsCompositionEnabled) (BOOL *pfEnabled)

Public 成员函数

 CShadowWnd (void)
virtual ~CShadowWnd (void)
void Create (HWND parent_hwnd)
BOOL SetShowParm (int nShadowSize=0, int nSharpness=5, int nDarkness=200, int nPosX=5, int nPosY=5, COLORREF color=0x000000)
void SetAllFill (BOOL bAll)
void Update (HWND parent_hwnd)
void Show (HWND hParent)
void OnFinalMessage ()

静态 Public 成员函数

static BOOL Initialize (HINSTANCE hinstance)

Public 属性

HWND m_hwnd
void * m_thunk
HWND m_parent_wnd
LONG_PTR m_ori_parent_proc
BYTE m_status
unsigned char m_darkness
unsigned char m_sharpness
signed char m_shadow_size
signed char m_nx_offset
signed char m_ny_offset
LPARAM m_wnd_size
BOOL m_is_update
BOOL m_is_all_fill
RECT m_rc_hwnd
SIZE m_size
COLORREF m_color

静态 Public 属性

static HINSTANCE s_hinstance
static pfnUpdateLayeredWindow s_update_layered_window
static BOOL s_is_vista
static pfnDwmIsCompositionEnabled s_dwm_is_composition_enabled

Protected 成员函数

void MakeShadow (UINT32 *ptr_bits, HWND hParent, RECT *rc_parent)
DWORD PreMultiply (COLORREF cl, unsigned char alpha)

成员类型定义说明

◆ pfnDwmIsCompositionEnabled

typedef HRESULT(WINAPI * CShadowWnd::pfnDwmIsCompositionEnabled) (BOOL *pfEnabled)

◆ pfnUpdateLayeredWindow

typedef BOOL(WINAPI * CShadowWnd::pfnUpdateLayeredWindow) (HWND hwnd, HDC hdcDst, POINT *pptDst, SIZE *psize, HDC hdcSrc, POINT *pptSrc, COLORREF crKey, BLENDFUNCTION *pblend, DWORD dwFlags)

构造及析构函数说明

◆ CShadowWnd()

CShadowWnd::CShadowWnd ( void )

◆ ~CShadowWnd()

virtual CShadowWnd::~CShadowWnd ( void )
virtual

成员函数说明

◆ Create()

void CShadowWnd::Create ( HWND parent_hwnd)

◆ Initialize()

BOOL CShadowWnd::Initialize ( HINSTANCE hinstance)
static

◆ MakeShadow()

void CShadowWnd::MakeShadow ( UINT32 * ptr_bits,
HWND hParent,
RECT * rc_parent )
protected

◆ OnFinalMessage()

void CShadowWnd::OnFinalMessage ( )

◆ PreMultiply()

DWORD CShadowWnd::PreMultiply ( COLORREF cl,
unsigned char alpha )
protected

◆ SetAllFill()

void CShadowWnd::SetAllFill ( BOOL bAll)

◆ SetShowParm()

BOOL CShadowWnd::SetShowParm ( int nShadowSize = 0,
int nSharpness = 5,
int nDarkness = 200,
int nPosX = 5,
int nPosY = 5,
COLORREF color = 0x000000 )

◆ Show()

void CShadowWnd::Show ( HWND hParent)

◆ Update()

void CShadowWnd::Update ( HWND parent_hwnd)

类成员变量说明

◆ m_color

COLORREF CShadowWnd::m_color

◆ m_darkness

unsigned char CShadowWnd::m_darkness

◆ m_hwnd

HWND CShadowWnd::m_hwnd

◆ m_is_all_fill

BOOL CShadowWnd::m_is_all_fill

◆ m_is_update

BOOL CShadowWnd::m_is_update

◆ m_nx_offset

signed char CShadowWnd::m_nx_offset

◆ m_ny_offset

signed char CShadowWnd::m_ny_offset

◆ m_ori_parent_proc

LONG_PTR CShadowWnd::m_ori_parent_proc

◆ m_parent_wnd

HWND CShadowWnd::m_parent_wnd

◆ m_rc_hwnd

RECT CShadowWnd::m_rc_hwnd

◆ m_shadow_size

signed char CShadowWnd::m_shadow_size

◆ m_sharpness

unsigned char CShadowWnd::m_sharpness

◆ m_size

SIZE CShadowWnd::m_size

◆ m_status

BYTE CShadowWnd::m_status

◆ m_thunk

void* CShadowWnd::m_thunk

◆ m_wnd_size

LPARAM CShadowWnd::m_wnd_size

◆ s_dwm_is_composition_enabled

pfnDwmIsCompositionEnabled CShadowWnd::s_dwm_is_composition_enabled
static

◆ s_hinstance

HINSTANCE CShadowWnd::s_hinstance
static

◆ s_is_vista

BOOL CShadowWnd::s_is_vista
static

◆ s_update_layered_window

pfnUpdateLayeredWindow CShadowWnd::s_update_layered_window
static
鄂公网安备42018502007752 鄂ICP备2024082886
Copyright © 2026 · CBlueStudio 版权所有