ReactOS 0.4.15-dev-8390-g075894b
CUIFShadow Class Reference

#include <cicuif.h>

Inheritance diagram for CUIFShadow:
Collaboration diagram for CUIFShadow:

Public Member Functions

 CUIFShadow (HINSTANCE hInst, DWORD style, CUIFWindow *pShadowOwner)
 @unimplemented
 
 ~CUIFShadow () override
 
void InitSettings ()
 @unimplemented
 
void InitShadow ()
 @unimplemented
 
void AdjustWindowPos ()
 
void OnOwnerWndMoved (BOOL bDoSize)
 
 STDMETHOD_ (BOOL, Initialize)() override
 
 STDMETHOD_ (DWORD, GetWndStyleEx)() override
 
 STDMETHOD_ (void, OnPaint)(HDC hDC) override
 
 STDMETHOD_ (LRESULT, OnWindowPosChanging)(HWND hWnd
 
 STDMETHOD_ (LRESULT, OnSettingChange)(HWND hWnd
 
 STDMETHOD_ (void, Show)(BOOL bVisible) override
 
- Public Member Functions inherited from CUIFWindow
 operator HWND () const
 
 CUIFWindow (HINSTANCE hInst, DWORD style)
 
 ~CUIFWindow () override
 
 STDMETHOD_ (BOOL, Initialize)() override
 
 STDMETHOD_ (void, Show)(BOOL bVisible) override
 
 STDMETHOD_ (void, SetRect)(LPCRECT prc) override
 
 STDMETHOD_ (void, PaintObject)(HDC hDC
 
 STDMETHOD_ (void, RemoveUIObj)(CUIFObject *pRemove) override
 
void SetCaptureObject (CUIFObject *pCaptured)
 
void SetObjectPointed (CUIFObject *pPointed, POINT pt)
 
void CreateScheme ()
 
BOOL GetWorkArea (LPCRECT prcWnd, LPRECT prcWorkArea)
 
void AdjustWindowPosition ()
 
void SetBehindModal (CUIFWindow *pBehindModal)
 
void SetTimerObject (CUIFObject *pTimerObject, UINT uElapse)
 
 STDMETHOD_ (LPCTSTR, GetClassName)()
 
 STDMETHOD_ (LPCTSTR, GetWndTitle)()
 
 STDMETHOD_ (DWORD, GetWndStyle)()
 
 STDMETHOD_ (DWORD, GetWndStyleEx)()
 
 STDMETHOD_ (HWND, CreateWnd)(HWND hwndParent)
 
 STDMETHOD_ (void, Move)(INT x
 
 STDMETHOD_ (BOOL, AnimateWnd)(DWORD dwTime
 
 STDMETHOD_ (void, OnObjectMoved)(CUIFObject *pObject)
 
 STDMETHOD_ (void, OnMouseOutFromWindow)(LONG x
 
 STDMETHOD_ (LRESULT, OnDisplayChange)(HWND hWnd
 
 STDMETHOD_ (HRESULT, OnGetObject)(HWND hWnd
 
 STDMETHOD_ (LRESULT, WindowProc)(HWND hWnd
 
 STDMETHOD_ (BOOL, OnEraseBkGnd)(HWND hWnd
 
 STDMETHOD_ (void, OnThemeChanged)(HWND hWnd
 
 STDMETHOD_ (void, UpdateUI)(LPCRECT prc)
 
 STDMETHOD_ (void, SetCapture)(int)
 
 STDMETHOD_ (void, ModalMouseNotify)(UINT uMsg
 
 STDMETHOD_ (void, HandleMouseMsg)(UINT uMsg
 
 STDMETHOD_ (void, ClientRectToWindowRect)(LPRECT pRect)
 
 STDMETHOD_ (void, GetWindowFrameSize)(LPSIZE pSize)
 
- Public Member Functions inherited from CUIFObject
 CUIFObject (CUIFObject *pParent, DWORD nObjectID, LPCRECT prc, DWORD style)
 @unimplemented
 
virtual ~CUIFObject ()
 
void StartCapture ()
 
void EndCapture ()
 
BOOL IsCapture ()
 
BOOL IsRTL ()
 
LRESULT NotifyCommand (WPARAM wParam, LPARAM lParam)
 
CUIFObjectObjectFromPoint (POINT pt)
 
void SetScheme (CUIFScheme *scheme)
 
void StartTimer (WPARAM wParam)
 
void EndTimer ()
 
 STDMETHOD_ (BOOL, Initialize)()
 
 STDMETHOD_ (void, OnPaint)(HDC hDC)
 
 STDMETHOD_ (void, OnTimer)()
 
 STDMETHOD_ (void, OnLButtonDown)(LONG x
 
 STDMETHOD_ (void, GetRect)(LPRECT prc)
 
 STDMETHOD_ (void, SetRect)(LPCRECT prc)
 
 STDMETHOD_ (BOOL, PtInObject)(POINT pt)
 
 STDMETHOD_ (void, PaintObject)(HDC hDC
 
 STDMETHOD_ (void, CallOnPaint)()
 
 STDMETHOD_ (void, Enable)(BOOL bEnable)
 
 STDMETHOD_ (void, Show)(BOOL bVisible)
 
 STDMETHOD_ (void, SetFontToThis)(HFONT hFont)
 
 STDMETHOD_ (void, SetFont)(HFONT hFont)
 
 STDMETHOD_ (void, SetStyle)(DWORD style)
 
 STDMETHOD_ (void, AddUIObj)(CUIFObject *pObject)
 
 STDMETHOD_ (void, RemoveUIObj)(CUIFObject *pObject)
 
 STDMETHOD_ (LRESULT, OnObjectNotify)(CUIFObject *pObject
 
 STDMETHOD_ (void, SetToolTip)(LPCWSTR pszToolTip)
 
 STDMETHOD_ (LPCWSTR, GetToolTip)()
 
 STDMETHOD_ (LRESULT, OnShowToolTip)()
 
 STDMETHOD_ (void, OnHideToolTip)()
 
 STDMETHOD_ (void, DetachWndObj)()
 
 STDMETHOD_ (void, ClearWndObj)()
 
 STDMETHOD_ (BOOL, OnPaintTheme)(HDC hDC)
 
 STDMETHOD_ (void, OnPaintNoTheme)(HDC hDC)
 
 STDMETHOD_ (void, ClearTheme)()
 
- Public Member Functions inherited from CUIFTheme
HRESULT InternalOpenThemeData (HWND hWnd)
 
HRESULT EnsureThemeData (HWND hWnd)
 
HRESULT CloseThemeData ()
 
STDMETHOD() DrawThemeBackground (HDC hDC, int iStateId, LPCRECT pRect, LPCRECT pClipRect)
 
STDMETHOD() DrawThemeParentBackground (HWND hwnd, HDC hDC, LPRECT prc)
 
STDMETHOD() DrawThemeText (HDC hDC, int iStateId, LPCWSTR pszText, int cchText, DWORD dwTextFlags, DWORD dwTextFlags2, LPCRECT pRect)
 
STDMETHOD() DrawThemeIcon (HDC hDC, int iStateId, LPCRECT pRect, HIMAGELIST himl, int iImageIndex)
 
STDMETHOD() GetThemeBackgroundExtent (HDC hDC, int iStateId, LPCRECT pContentRect, LPRECT pExtentRect)
 
STDMETHOD() GetThemeBackgroundContentRect (HDC hDC, int iStateId, LPCRECT pBoundingRect, LPRECT pContentRect)
 
STDMETHOD() GetThemeTextExtent (HDC hDC, int iStateId, LPCWSTR pszText, int cchCharCount, DWORD dwTextFlags, LPCRECT pBoundingRect, LPRECT pExtentRect)
 
STDMETHOD() GetThemePartSize (HDC hDC, int iStateId, LPRECT prc, THEMESIZE eSize, SIZE *psz)
 
STDMETHOD() DrawThemeEdge (HDC hDC, int iStateId, LPCRECT pDestRect, UINT uEdge, UINT uFlags, LPRECT pContentRect)
 
STDMETHOD() GetThemeColor (int iStateId, int iPropId, COLORREF *pColor)
 
STDMETHOD() GetThemeMargins (HDC hDC, int iStateId, int iPropId, LPRECT prc, MARGINS *pMargins)
 
STDMETHOD() GetThemeFont (HDC hDC, int iStateId, int iPropId, LOGFONTW *pFont)
 
 STDMETHOD_ (COLORREF, GetThemeSysColor)(INT iColorId)
 
 STDMETHOD_ (int, GetThemeSysSize)(int iSizeId)
 
 STDMETHOD_ (void, SetActiveTheme)(LPCWSTR pszClassList
 

Public Attributes

UINT Msg
 
UINT WPARAM wParam
 
UINT WPARAM LPARAM lParam override
 
UINT uMsg
 
- Public Attributes inherited from CUIFWindow
LPCRECT prc override
 
INT y
 
INT INT nWidth
 
INT INT INT nHeight
 
DWORD dwFlags
 
LONG y
 
UINT uMsg
 
UINT WPARAM wParam
 
UINT WPARAM LPARAM lParam { return 0
 
WPARAM wParam
 
WPARAM LPARAM lParam
 
LONG x
 
LONG LONG y
 
- Public Attributes inherited from CUIFObject
LONG y
 
LPCRECT prc
 
WPARAM wParam
 
WPARAM LPARAM lParam
 
- Public Attributes inherited from CUIFTheme
LPCWSTR m_pszClassList
 
INT m_iPartId
 
INT m_iStateId
 
HTHEME m_hTheme
 
INT iPartId
 
INT INT iStateId
 

Protected Attributes

CUIFWindowm_pShadowOwner
 
COLORREF m_rgbShadowColor
 
DWORD m_dwUnknown11 [2]
 
INT m_xShadowDelta
 
INT m_yShadowDelta
 
BOOL m_bLayerAvailable
 
- Protected Attributes inherited from CUIFWindow
INT m_nLeft
 
INT m_nTop
 
INT m_nHeight
 
INT m_nWidth
 
HINSTANCE m_hInst
 
HWND m_hWnd
 
CUIFObjectm_pTimerObject
 
CUIFObjectm_pCaptured
 
CUIFObjectm_pPointed
 
BOOL m_bPointing
 
CUIFWindowm_pBehindModal
 
CUIFToolTipm_pToolTip
 
CUIFShadowm_pShadow
 
BOOL m_bShowShadow
 
- Protected Attributes inherited from CUIFObject
CUIFObjectm_pParent
 
CUIFWindowm_pWindow
 
CUIFSchemem_pScheme
 
CUIFObjectArray m_ObjectArray
 
DWORD m_nObjectID
 
DWORD m_style
 
RECT m_rc
 
BOOL m_bEnable
 
BOOL m_bVisible
 
HFONT m_hFont
 
BOOL m_bHasCustomFont
 
LPWSTR m_pszToolTip
 
DWORD m_dwUnknown4 [2]
 

Additional Inherited Members

- Public Types inherited from CUIFWindow
enum  { POINTING_TIMER_ID = 0x7982 , USER_TIMER_ID = 0x5461 }
 
- Static Public Member Functions inherited from CUIFWindow
static CUIFWindowGetThis (HWND hWnd)
 
static void SetThis (HWND hWnd, LONG_PTR dwNewLong)
 
static LRESULT CALLBACK WindowProcedure (HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
 
- Static Public Attributes inherited from CUIFTheme
static HINSTANCE s_hUXTHEME = NULL
 
static FN_OpenThemeData s_fnOpenThemeData = NULL
 
static FN_CloseThemeData s_fnCloseThemeData = NULL
 
static FN_DrawThemeBackground s_fnDrawThemeBackground = NULL
 
static FN_DrawThemeParentBackground s_fnDrawThemeParentBackground = NULL
 
static FN_DrawThemeText s_fnDrawThemeText = NULL
 
static FN_DrawThemeIcon s_fnDrawThemeIcon = NULL
 
static FN_GetThemeBackgroundExtent s_fnGetThemeBackgroundExtent = NULL
 
static FN_GetThemeBackgroundContentRect s_fnGetThemeBackgroundContentRect = NULL
 
static FN_GetThemeTextExtent s_fnGetThemeTextExtent = NULL
 
static FN_GetThemePartSize s_fnGetThemePartSize = NULL
 
static FN_DrawThemeEdge s_fnDrawThemeEdge = NULL
 
static FN_GetThemeColor s_fnGetThemeColor = NULL
 
static FN_GetThemeMargins s_fnGetThemeMargins = NULL
 
static FN_GetThemeFont s_fnGetThemeFont = NULL
 
static FN_GetThemeSysColor s_fnGetThemeSysColor = NULL
 
static FN_GetThemeSysSize s_fnGetThemeSysSize = NULL
 

Detailed Description

Definition at line 653 of file cicuif.h.

Constructor & Destructor Documentation

◆ CUIFShadow()

CUIFShadow::CUIFShadow ( HINSTANCE  hInst,
DWORD  style,
CUIFWindow pShadowOwner 
)

@unimplemented

Definition at line 2207 of file cicuif.cpp.

2209{
2210 m_pShadowOwner = pShadowOwner;
2211 m_rgbShadowColor = RGB(0, 0, 0);
2212 m_dwUnknown11[0] = 0;
2213 m_dwUnknown11[1] = 0;
2216}
Arabic default style
Definition: afstyles.h:94
@ UIF_WINDOW_TOOLWINDOW
Definition: cicuif.h:496
BOOL m_bLayerAvailable
Definition: cicuif.h:661
COLORREF m_rgbShadowColor
Definition: cicuif.h:657
CUIFWindow * m_pShadowOwner
Definition: cicuif.h:656
INT m_xShadowDelta
Definition: cicuif.h:659
INT m_yShadowDelta
Definition: cicuif.h:660
DWORD m_dwUnknown11[2]
Definition: cicuif.h:658
#define FALSE
Definition: types.h:117
#define RGB(r, g, b)
Definition: precomp.h:71
HINSTANCE hInst
Definition: dxdiag.c:13

◆ ~CUIFShadow()

CUIFShadow::~CUIFShadow ( )
override

Definition at line 2218 of file cicuif.cpp.

2219{
2220 if (m_pShadowOwner)
2222}
CUIFShadow * m_pShadow
Definition: cicuif.h:525
#define NULL
Definition: types.h:112

Member Function Documentation

◆ AdjustWindowPos()

void CUIFShadow::AdjustWindowPos ( )

Definition at line 2241 of file cicuif.cpp.

2242{
2243 HWND hwndOwner = *m_pShadowOwner;
2244 if (!::IsWindow(m_hWnd))
2245 return;
2246
2247 RECT rc;
2248 ::GetWindowRect(hwndOwner, &rc);
2249 ::SetWindowPos(m_hWnd, hwndOwner,
2250 rc.left + m_xShadowDelta,
2251 rc.top + m_yShadowDelta,
2252 rc.right - rc.left,
2253 rc.bottom - rc.top,
2255}
HWND m_hWnd
Definition: cicuif.h:518
LONG right
Definition: windef.h:308
LONG bottom
Definition: windef.h:309
LONG top
Definition: windef.h:307
LONG left
Definition: windef.h:306
BOOL WINAPI IsWindow(_In_opt_ HWND)
#define SWP_NOACTIVATE
Definition: winuser.h:1242
BOOL WINAPI GetWindowRect(_In_ HWND, _Out_ LPRECT)
BOOL WINAPI SetWindowPos(_In_ HWND, _In_opt_ HWND, _In_ int, _In_ int, _In_ int, _In_ int, _In_ UINT)
#define SWP_NOOWNERZORDER
Definition: winuser.h:1249

Referenced by OnOwnerWndMoved().

◆ InitSettings()

void CUIFShadow::InitSettings ( )

@unimplemented

Definition at line 2225 of file cicuif.cpp.

2226{
2228 m_rgbShadowColor = RGB(128, 128, 128);
2230}

◆ InitShadow()

void CUIFShadow::InitShadow ( )

@unimplemented

Definition at line 2233 of file cicuif.cpp.

2234{
2236 {
2237 //FIXME
2238 }
2239}

Referenced by OnOwnerWndMoved().

◆ OnOwnerWndMoved()

void CUIFShadow::OnOwnerWndMoved ( BOOL  bDoSize)

Definition at line 2257 of file cicuif.cpp.

2258{
2260 {
2262 if (bDoSize)
2263 InitShadow();
2264 }
2265}
void InitShadow()
@unimplemented
Definition: cicuif.cpp:2233
void AdjustWindowPos()
Definition: cicuif.cpp:2241
BOOL WINAPI IsWindowVisible(_In_ HWND)

◆ STDMETHOD_() [1/6]

CUIFShadow::STDMETHOD_ ( BOOL  ,
Initialize   
)
override

◆ STDMETHOD_() [2/6]

CUIFShadow::STDMETHOD_ ( DWORD  ,
GetWndStyleEx   
)
override

◆ STDMETHOD_() [3/6]

CUIFShadow::STDMETHOD_ ( LRESULT  ,
OnSettingChange   
)

◆ STDMETHOD_() [4/6]

CUIFShadow::STDMETHOD_ ( LRESULT  ,
OnWindowPosChanging   
)

◆ STDMETHOD_() [5/6]

CUIFShadow::STDMETHOD_ ( void  ,
OnPaint   
)
override

◆ STDMETHOD_() [6/6]

CUIFShadow::STDMETHOD_ ( void  ,
Show   
)
override

Member Data Documentation

◆ m_bLayerAvailable

BOOL CUIFShadow::m_bLayerAvailable
protected

Definition at line 661 of file cicuif.h.

Referenced by CUIFShadow(), InitSettings(), and InitShadow().

◆ m_dwUnknown11

DWORD CUIFShadow::m_dwUnknown11[2]
protected

Definition at line 658 of file cicuif.h.

Referenced by CUIFShadow().

◆ m_pShadowOwner

CUIFWindow* CUIFShadow::m_pShadowOwner
protected

Definition at line 656 of file cicuif.h.

Referenced by AdjustWindowPos(), CUIFShadow(), and ~CUIFShadow().

◆ m_rgbShadowColor

COLORREF CUIFShadow::m_rgbShadowColor
protected

Definition at line 657 of file cicuif.h.

Referenced by CUIFShadow(), and InitSettings().

◆ m_xShadowDelta

INT CUIFShadow::m_xShadowDelta
protected

Definition at line 659 of file cicuif.h.

Referenced by AdjustWindowPos(), CUIFShadow(), and InitSettings().

◆ m_yShadowDelta

INT CUIFShadow::m_yShadowDelta
protected

Definition at line 660 of file cicuif.h.

Referenced by AdjustWindowPos(), CUIFShadow(), and InitSettings().

◆ Msg

UINT CUIFShadow::Msg

Definition at line 675 of file cicuif.h.

◆ override

UINT WPARAM LPARAM lParam CUIFShadow::override

Definition at line 675 of file cicuif.h.

◆ uMsg

UINT CUIFShadow::uMsg

Definition at line 676 of file cicuif.h.

◆ wParam

UINT WPARAM CUIFShadow::wParam

Definition at line 675 of file cicuif.h.


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