ReactOS 0.4.16-dev-252-g9ccafe8
CUTBMenuWnd Class Reference
Inheritance diagram for CUTBMenuWnd:
Collaboration diagram for CUTBMenuWnd:

Public Member Functions

 CUTBMenuWnd (HINSTANCE hInst, DWORD style, DWORD dwUnknown14)
 
BOOL StartDoAccDefaultActionTimer (CUTBMenuItem *pTarget)
 
CTipbarAccItemGetAccItem ()
 
CUIFMenuGetMenu ()
 
 STDMETHOD_ (BSTR, GetAccName)() override
 
 STDMETHOD_ (INT, GetAccRole)() override
 
 STDMETHOD_ (BOOL, Initialize)() override
 
 STDMETHOD_ (void, OnCreate)(HWND hWnd) override
 
 STDMETHOD_ (void, OnDestroy)(HWND hWnd) override
 
 STDMETHOD_ (HRESULT, OnGetObject)(HWND hWnd
 
 STDMETHOD_ (LRESULT, OnShowWindow)(HWND hWnd
 
 STDMETHOD_ (void, OnTimer)(WPARAM wParam) override
 
- Public Member Functions inherited from CTipbarAccItem
 CTipbarAccItem ()
 
virtual ~CTipbarAccItem ()
 
 STDMETHOD_ (BSTR, GetAccName)()
 
 STDMETHOD_ (BSTR, GetAccValue)()
 
 STDMETHOD_ (INT, GetAccRole)()
 
 STDMETHOD_ (INT, GetAccState)()
 
 STDMETHOD_ (void, GetAccLocation)(LPRECT lprc)
 
 STDMETHOD_ (BSTR, GetAccDefaultAction)()
 
 STDMETHOD_ (BOOL, DoAccDefaultAction)()
 
 STDMETHOD_ (BOOL, DoAccDefaultActionReal)()
 
- Public Member Functions inherited from CUIFMenu
 CUIFMenu (HINSTANCE hInst, DWORD style, DWORD dwUnknown14)
 
 ~CUIFMenu () override
 
void CancelMenu ()
 
void ClearMenuFont ()
 
CUIFMenuItemGetNextItem (CUIFMenuItem *pItem)
 
CUIFMenuItemGetPrevItem (CUIFMenuItem *pItem)
 
CUIFMenuGetTopSubMenu ()
 
BOOL InsertItem (CUIFMenuItem *pItem)
 
BOOL InsertSeparator ()
 
void PostKey (BOOL bUp, WPARAM wParam, LPARAM lParam)
 
void SetMenuFont ()
 
void SetSelectedId (UINT nSelectID)
 
void SetSelectedItem (CUIFMenuItem *pItem)
 
UINT ShowModalPopup (CUIFWindow *pWindow, LPCRECT prc, BOOL bFlag)
 
void ShowSubPopup (CUIFMenu *pSubMenu, LPCRECT prc, BOOL bFlag)
 
 STDMETHOD_ (void, OnKeyDown)(HWND hWnd
 
 STDMETHOD_ (void, HandleMouseMsg)(UINT uMsg
 
 STDMETHOD_ (void, ModalMouseNotify)(UINT uMsg
 
 STDMETHOD_ (void, ModalMessageLoop)()
 
 STDMETHOD_ (BOOL, InitShow)(CUIFWindow *pWindow
 
 STDMETHOD_ (BOOL, UninitShow)()
 
- 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 uMsg
 
UINT WPARAM wParam
 
UINT WPARAM LPARAM lParam override
 
- Public Attributes inherited from CUIFMenu
CUIFMenum_pVisibleSubMenu
 
CUIFMenum_pParentMenu
 
CUIFMenuItemm_pSelectedItem
 
UINT m_nSelectedID
 
CicArray< CUIFMenuItem * > m_MenuItems
 
HFONT m_hMenuFont
 
BOOL m_bModal
 
BOOL m_bHasMargin
 
DWORD m_dwUnknown14
 
LONG m_cxyMargin
 
LONG m_cxMenuExtent
 
WPARAM wParam
 
WPARAM LPARAM lParam override
 
LONG x
 
LONG LONG y override
 
LPCRECT prc
 
LPCRECT BOOL bFlag
 
LPCRECT BOOL BOOL bDoAnimation
 
- 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

CTipbarCoInitialize m_coInit
 
CTipbarAccessiblem_pAccessible
 
UINT m_nMenuWndID
 
- 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]
 

Friends

class CUTBMenuItem
 

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 924 of file msutb.cpp.

Constructor & Destructor Documentation

◆ CUTBMenuWnd()

CUTBMenuWnd::CUTBMenuWnd ( HINSTANCE  hInst,
DWORD  style,
DWORD  dwUnknown14 
)

Definition at line 2582 of file msutb.cpp.

2583 : CUIFMenu(hInst, style, dwUnknown14)
2584{
2585}
Arabic default style
Definition: afstyles.h:94
friend class CUIFMenu
Definition: cicuif.h:531
HINSTANCE hInst
Definition: dxdiag.c:13

Member Function Documentation

◆ GetAccItem()

CTipbarAccItem * CUTBMenuWnd::GetAccItem ( )
inline

Definition at line 937 of file msutb.cpp.

938 {
939 return static_cast<CTipbarAccItem*>(this);
940 }

◆ GetMenu()

CUIFMenu * CUTBMenuWnd::GetMenu ( )
inline

Definition at line 941 of file msutb.cpp.

942 {
943 return static_cast<CUIFMenu*>(this);
944 }

◆ StartDoAccDefaultActionTimer()

BOOL CUTBMenuWnd::StartDoAccDefaultActionTimer ( CUTBMenuItem pTarget)

Definition at line 2587 of file msutb.cpp.

2588{
2589 if (!m_pAccessible)
2590 return FALSE;
2591
2593 if (!m_nMenuWndID || m_nMenuWndID == (UINT)-1)
2594 return FALSE;
2595
2596 if (::IsWindow(m_hWnd))
2597 {
2600 }
2601
2602 return TRUE;
2603}
INT GetIDOfItem(CTipbarAccItem *pTarget)
Definition: msutb.cpp:2147
HWND m_hWnd
Definition: cicuif.h:518
CTipbarAccessible * m_pAccessible
Definition: msutb.cpp:928
UINT m_nMenuWndID
Definition: msutb.cpp:929
#define NULL
Definition: types.h:112
#define TRUE
Definition: types.h:120
#define FALSE
Definition: types.h:117
FxIoTarget * pTarget
Definition: fxdeviceapi.cpp:97
UINT g_uTimerElapseDOACCDEFAULTACTION
Definition: msutb.cpp:71
#define TIMER_ID_DOACCDEFAULTACTION
Definition: msutb.cpp:82
unsigned int UINT
Definition: ndis.h:50
BOOL WINAPI IsWindow(_In_opt_ HWND)
UINT_PTR WINAPI SetTimer(_In_opt_ HWND, _In_ UINT_PTR, _In_ UINT, _In_opt_ TIMERPROC)
BOOL WINAPI KillTimer(_In_opt_ HWND, _In_ UINT_PTR)

◆ STDMETHOD_() [1/8]

CUTBMenuWnd::STDMETHOD_ ( BOOL  ,
Initialize   
)
override

◆ STDMETHOD_() [2/8]

CUTBMenuWnd::STDMETHOD_ ( BSTR  ,
GetAccName   
)
override

◆ STDMETHOD_() [3/8]

CUTBMenuWnd::STDMETHOD_ ( HRESULT  ,
OnGetObject   
)

◆ STDMETHOD_() [4/8]

CUTBMenuWnd::STDMETHOD_ ( INT  ,
GetAccRole   
)
override

◆ STDMETHOD_() [5/8]

CUTBMenuWnd::STDMETHOD_ ( LRESULT  ,
OnShowWindow   
)

◆ STDMETHOD_() [6/8]

CUTBMenuWnd::STDMETHOD_ ( void  ,
OnCreate   
)
override

◆ STDMETHOD_() [7/8]

CUTBMenuWnd::STDMETHOD_ ( void  ,
OnDestroy   
)
override

◆ STDMETHOD_() [8/8]

CUTBMenuWnd::STDMETHOD_ ( void  ,
OnTimer   
)
override

Friends And Related Function Documentation

◆ CUTBMenuItem

friend class CUTBMenuItem
friend

Definition at line 930 of file msutb.cpp.

Member Data Documentation

◆ m_coInit

CTipbarCoInitialize CUTBMenuWnd::m_coInit
protected

Definition at line 927 of file msutb.cpp.

◆ m_nMenuWndID

UINT CUTBMenuWnd::m_nMenuWndID
protected

Definition at line 929 of file msutb.cpp.

Referenced by StartDoAccDefaultActionTimer().

◆ m_pAccessible

CTipbarAccessible* CUTBMenuWnd::m_pAccessible
protected

Definition at line 928 of file msutb.cpp.

Referenced by StartDoAccDefaultActionTimer().

◆ override

UINT WPARAM LPARAM lParam CUTBMenuWnd::override

Definition at line 951 of file msutb.cpp.

◆ uMsg

UINT CUTBMenuWnd::uMsg

Definition at line 951 of file msutb.cpp.

◆ wParam

UINT WPARAM CUTBMenuWnd::wParam

Definition at line 951 of file msutb.cpp.


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