ScummVM API documentation
Bagel::MFC::CScrollView Class Reference
Inheritance diagram for Bagel::MFC::CScrollView:
Bagel::MFC::CView Bagel::MFC::CWnd Bagel::MFC::CCmdTarget Bagel::MFC::CObject

Public Member Functions

void SetScrollSizes (int nMapMode, SIZE sizeTotal, const SIZE &sizePage=sizeNull, const SIZE &sizeLine=sizeNull)
 
- Public Member Functions inherited from Bagel::MFC::CView
int OnCreate (LPCREATESTRUCT lpcs)
 
void OnDestroy ()
 
void PostNcDestroy () override
 
void OnInitialUpdate ()
 
virtual void OnUpdate (CView *pSender, LPARAM, CObject *)
 
virtual void OnActivateView (bool, CView *, CView *)
 
virtual void OnActivateFrame (unsigned int nState, CFrameWnd *pFrameWnd)
 
CFrameWndGetParentFrame () const
 
CDocumentGetDocument () const
 
- Public Member Functions inherited from Bagel::MFC::CWnd
bool Create (const char *lpszClassName, const char *lpszWindowName, uint32 dwStyle, const RECT &rect, CWnd *pParentWnd, unsigned int nID, CCreateContext *pContext=nullptr)
 
bool CreateEx (uint32 dwExStyle, const char *lpszClassName, const char *lpszWindowName, uint32 dwStyle, int x, int y, int nWidth, int nHeight, HWND hWndParent, LPARAM nIDorHMenu, void *lpParam=nullptr)
 
bool CreateEx (uint32 dwExStyle, const char *lpszClassName, const char *lpszWindowName, uint32 dwStyle, const RECT &rect, CWnd *pParentWnd, unsigned int nID, void *lpParam=nullptr)
 
Common::Array< const CWnd * > GetSafeParents (bool includeSelf=true) const
 
Common::Array< CWnd * > GetSafeParents (bool includeSelf=true)
 
CWndGetParent () const
 
CWndGetTopLevelFrame ()
 
HWND GetSafeHwnd () const
 
void ShowWindow (int nCmdShow)
 
bool EnableWindow (bool bEnable=true)
 
void UpdateWindow ()
 
bool RedrawWindow (LPCRECT lpRectUpdate=nullptr, CRgn *prgnUpdate=nullptr, unsigned int flags=RDW_INVALIDATE|RDW_UPDATENOW|RDW_ALLCHILDREN)
 
void SetActiveWindow ()
 
void SetFocus ()
 
CWndGetFocus () const
 
bool IsWindowVisible () const
 
void DestroyWindow ()
 
void Invalidate (bool bErase=true)
 
int GetWindowText (CString &rString) const
 
int GetWindowText (char *lpszStringBuf, int nMaxCount) const
 
bool SetWindowText (const char *lpszString)
 
unsigned int GetState () const
 
uint32 GetStyle () const
 
void SetStyle (uint32 nStyle)
 
bool IsWindowEnabled () const
 
bool IsActiveWindow () const
 
CDCGetDC ()
 
int ReleaseDC (CDC *pDC)
 
bool PostMessage (unsigned int message, WPARAM wParam=0, LPARAM lParam=0)
 
LRESULT SendMessage (unsigned int message, WPARAM wParam=0, LPARAM lParam=0)
 
void SendMessageToDescendants (unsigned int message, WPARAM wParam=0, LPARAM lParam=0, bool bDeep=true, bool bOnlyPerm=false)
 
bool Validate ()
 
bool ValidateRect (LPCRECT lpRect=nullptr)
 
bool InvalidateRect (LPCRECT lpRect, bool bErase=true)
 
void GetWindowRect (LPRECT lpRect) const
 
bool GetUpdateRect (LPRECT lpRect, bool bErase=false)
 
bool GetClientRect (LPRECT lpRect) const
 
RECT GetClientRect () const
 
bool PointInClientRect (const POINT &pt) const
 
void ClientToScreen (LPPOINT lpPoint) const
 
void ClientToScreen (LPRECT lpRect) const
 
void ScreenToClient (LPPOINT lpPoint) const
 
void ScreenToClient (LPRECT lpRect) const
 
RECT GetWindowRectInParentCoords () const
 
void MoveWindow (LPCRECT lpRect, bool bRepaint=true)
 
void MoveWindow (int x, int y, int nWidth, int nHeight, bool bRepaint=true)
 
HDC BeginPaint (LPPAINTSTRUCT lpPaint)
 
bool EndPaint (const PAINTSTRUCT *lpPaint)
 
CWndGetDlgItem (int nID) const
 
CWndGetNextDlgGroupItem (CWnd *pWndCtl, bool bPrevious=false) const
 
bool GotoDlgCtrl (CWnd *pWndCtrl)
 
bool SubclassDlgItem (unsigned int nID, CWnd *pParent)
 
bool SetDlgItemText (int nIDDlgItem, const char *lpString)
 
int GetDlgCtrlID () const
 
void CheckDlgButton (int nIDButton, unsigned int nCheck)
 
LRESULT SendDlgItemMessage (int nID, unsigned int message, WPARAM wParam=0, LPARAM lParam=0) const
 
uintptr SetTimer (uintptr nIDEvent, unsigned int nElapse, void(CALLBACK *lpfnTimer)(HWND, unsigned int, uintptr, uint32)=nullptr)
 
bool KillTimer (uintptr nIDEvent)
 
virtual bool PreTranslateMessage (MSG *pMsg)
 
virtual int GetScrollPos () const
 
int GetScrollPosition () const
 
virtual int SetScrollPos (int nPos, bool bRedraw=true)
 
virtual void GetScrollRange (int *lpMinPos, int *lpMaxPos) const
 
void GetScrollRange (int, int *lpMinPos, int *lpMaxPos) const
 
virtual void SetScrollRange (int nMinPos, int nMaxPos, bool bRedraw)
 
void SetCapture ()
 
void ReleaseCapture ()
 
const Common::HashMap< int, CWnd * > & getChildren () const
 
bool IsWindowDirty () const
 
HFONT GetFont () const
 
void SetFont (CFont *pFont, bool bRedraw=true)
 
void pause ()
 
- Public Member Functions inherited from Bagel::MFC::CCmdTarget
virtual void DoWaitCursor (int nCode)
 
void BeginWaitCursor ()
 
void EndWaitCursor ()
 
void RestoreWaitCursor ()
 
bool OnCmdMsg (unsigned int nID, int nCode, void *pExtra, AFX_CMDHANDLERINFO *pHandlerInfo)
 
- Public Member Functions inherited from Bagel::MFC::CObject
 CObject (const CObject &)=default
 
CObjectoperator= (const CObject &)=default
 
virtual const CRuntimeClassGetRuntimeClass () const
 
virtual void AssertValid () const
 
virtual void Dump (CDumpContext &dc) const
 
bool IsKindOf (const CRuntimeClass *pClass) const
 

Protected Member Functions

const AFX_MSGMAPGetMessageMap () const override
 
- Protected Member Functions inherited from Bagel::MFC::CView
virtual bool PreCreateWindow (CREATESTRUCT &cCs) override
 
virtual void OnDraw (CDC *pDC)
 
void OnPaint ()
 
void OnNcDestroy ()
 
- Protected Member Functions inherited from Bagel::MFC::CWnd
virtual void DoDataExchange (CDataExchange *dataExch)
 
void createDialogIndirect (LPCDLGTEMPLATE dlgTemplate)
 
virtual bool OnCommand (WPARAM wParam, LPARAM lParam)
 
virtual bool OnNotify (WPARAM wParam, LPARAM lParam, LRESULT *pResult)
 
virtual void OnActivate (unsigned int nState, CWnd *pWndOther, bool bMinimized)
 
virtual LRESULT DefWindowProc (unsigned int nMsg, WPARAM wParam, LPARAM lParam)
 
virtual void OnSetFont (CFont *pFont)
 
bool OnWndMsg (unsigned int message, WPARAM wParam, LPARAM lParam, LRESULT *pResult)
 
void OnActivateApp (bool bActive, uint32 dwThreadID)
 
LRESULT OnActivateTopLevel (WPARAM, LPARAM)
 
void OnCancelMode ()
 
void OnChildActivate ()
 
void OnClose ()
 
void OnContextMenu (CWnd *pWnd, CPoint pos)
 
int OnCreate (LPCREATESTRUCT lpCreateStruct)
 
HBRUSH OnCtlColor (CDC *pDC, CWnd *pWnd, unsigned int nCtlColor)
 
void OnDestroy ()
 
void OnEnable (bool bEnable)
 
void OnEndSession (bool bEnding)
 
void OnEnterIdle (unsigned int nWhy, CWnd *pWho)
 
bool OnEraseBkgnd (CDC *pDC)
 
void OnIconEraseBkgnd (CDC *pDC)
 
void OnKillFocus (CWnd *pNewWnd)
 
void OnMenuSelect (unsigned int nItemID, unsigned int nFlags, HMENU hSysMenu)
 
void OnMove (int x, int y)
 
void OnPaint ()
 
void OnSyncPaint ()
 
void OnParentNotify (unsigned int message, LPARAM lParam)
 
unsigned int OnNotifyFormat (CWnd *pWnd, unsigned int nCommand)
 
HCURSOR OnQueryDragIcon ()
 
bool OnQueryEndSession ()
 
bool OnQueryNewPalette ()
 
bool OnQueryOpen ()
 
void OnSetFocus (CWnd *pOldWnd)
 
void OnShowWindow (bool bShow, unsigned int nStatus)
 
void OnSize (unsigned int nType, int cx, int cy)
 
void OnTCard (unsigned int idAction, uint32 dwActionData)
 
void OnSessionChange (unsigned int nSessionState, unsigned int nId)
 
void OnChangeUIState (unsigned int nAction, unsigned int nUIElement)
 
void OnUpdateUIState (unsigned int nAction, unsigned int nUIElement)
 
unsigned int OnQueryUIState ()
 
bool OnNcActivate (bool bActive)
 
bool OnNcCreate (LPCREATESTRUCT lpCreateStruct)
 
void OnNcDestroy ()
 
LRESULT OnNcHitTest (CPoint point)
 
void OnNcLButtonDblClk (unsigned int nHitTest, CPoint point)
 
void OnNcLButtonDown (unsigned int nHitTest, CPoint point)
 
void OnNcLButtonUp (unsigned int nHitTest, CPoint point)
 
void OnNcMButtonDblClk (unsigned int nHitTest, CPoint point)
 
void OnNcMButtonDown (unsigned int nHitTest, CPoint point)
 
void OnNcMButtonUp (unsigned int nHitTest, CPoint point)
 
void OnNcMouseHover (unsigned int nHitTest, CPoint point)
 
void OnNcMouseLeave ()
 
void OnNcMouseMove (unsigned int nHitTest, CPoint point)
 
void OnNcPaint ()
 
void OnNcRButtonDblClk (unsigned int nHitTest, CPoint point)
 
void OnNcRButtonDown (unsigned int nHitTest, CPoint point)
 
void OnNcRButtonUp (unsigned int nHitTest, CPoint point)
 
void OnNcXButtonDown (short zHitTest, unsigned int nButton, CPoint point)
 
void OnNcXButtonUp (short zHitTest, unsigned int nButton, CPoint point)
 
void OnNcXButtonDblClk (short zHitTest, unsigned int nButton, CPoint point)
 
void OnDropFiles (HDROP hDropInfo)
 
void OnPaletteIsChanging (CWnd *pRealizeWnd)
 
void OnSysChar (unsigned int nChar, unsigned int nRepCnt, unsigned int nFlags)
 
void OnSysCommand (unsigned int nID, LPARAM lParam)
 
void OnSysDeadChar (unsigned int nChar, unsigned int nRepCnt, unsigned int nFlags)
 
void OnSysKeyDown (unsigned int nChar, unsigned int nRepCnt, unsigned int nFlags)
 
void OnSysKeyUp (unsigned int nChar, unsigned int nRepCnt, unsigned int nFlags)
 
bool OnAppCommand (CWnd *pWnd, unsigned int nCmd, unsigned int nDevice, unsigned int nKey)
 
void OnRawInput (unsigned int nInputCode, HRAWINPUT hRawInput)
 
void OnCompacting (unsigned int nCpuTime)
 
void OnDevModeChange (_In_z_ uint16 *lpDeviceName)
 
void OnFontChange ()
 
void OnPaletteChanged (CWnd *pFocusWnd)
 
void OnSpoolerStatus (unsigned int nStatus, unsigned int nJobs)
 
void OnSysColorChange ()
 
void OnTimeChange ()
 
void OnSettingChange (unsigned int uFlags, const char *lpszSection)
 
void OnWinIniChange (const char *lpszSection)
 
unsigned int OnPowerBroadcast (unsigned int nPowerEvent, LPARAM lEventData)
 
void OnUserChanged ()
 
void OnInputLangChange (unsigned int nCharSet, unsigned int nLocaleId)
 
void OnInputLangChangeRequest (unsigned int nFlags, unsigned int nLocaleId)
 
void OnInputDeviceChange (unsigned short nFlags, HANDLE hDevice)
 
void OnChar (unsigned int nChar, unsigned int nRepCnt, unsigned int nFlags)
 
void OnDeadChar (unsigned int nChar, unsigned int nRepCnt, unsigned int nFlags)
 
void OnUniChar (unsigned int nChar, unsigned int nRepCnt, unsigned int nFlags)
 
void OnHScroll (unsigned int nSBCode, unsigned int nPos, CScrollBar *pScrollBar)
 
void OnVScroll (unsigned int nSBCode, unsigned int nPos, CScrollBar *pScrollBar)
 
void OnKeyDown (unsigned int nChar, unsigned int nRepCnt, unsigned int nFlags)
 
void OnKeyUp (unsigned int nChar, unsigned int nRepCnt, unsigned int nFlags)
 
void OnHotKey (unsigned int nHotKeyId, unsigned int nKey1, unsigned int nKey2)
 
void OnLButtonDblClk (unsigned int nFlags, CPoint point)
 
void OnLButtonDown (unsigned int nFlags, CPoint point)
 
void OnLButtonUp (unsigned int nFlags, CPoint point)
 
void OnMButtonDblClk (unsigned int nFlags, CPoint point)
 
void OnMButtonDown (unsigned int nFlags, CPoint point)
 
void OnMButtonUp (unsigned int nFlags, CPoint point)
 
void OnXButtonDblClk (unsigned int nFlags, unsigned int nButton, CPoint point)
 
void OnXButtonDown (unsigned int nFlags, unsigned int nButton, CPoint point)
 
void OnXButtonUp (unsigned int nFlags, unsigned int nButton, CPoint point)
 
int OnMouseActivate (CWnd *pDesktopWnd, unsigned int nHitTest, unsigned int message)
 
void OnMouseHover (unsigned int nFlags, CPoint point)
 
void OnMouseLeave ()
 
void OnMouseMove (unsigned int nFlags, CPoint point)
 
void OnMouseHWheel (unsigned int nFlags, short zDelta, CPoint pt)
 
bool OnMouseWheel (unsigned int nFlags, short zDelta, CPoint pt)
 
void OnRButtonDblClk (unsigned int nFlags, CPoint point)
 
void OnRButtonDown (unsigned int nFlags, CPoint point)
 
void OnRButtonUp (unsigned int nFlags, CPoint point)
 
bool OnSetCursor (CWnd *pWnd, unsigned int nHitTest, unsigned int message)
 
void OnTimer (uintptr nIDEvent)
 
void OnDrawItem (int nIDCtl, LPDRAWITEMSTRUCT lpDrawItemStruct)
 
unsigned int OnGetDlgCode ()
 
void OnMeasureItem (int nIDCtl, LPMEASUREITEMSTRUCT lpMeasureItemStruct)
 
int OnCharToItem (unsigned int nChar, CListBox *pListBox, unsigned int nIndex)
 
int OnVKeyToItem (unsigned int nKey, CListBox *pListBox, unsigned int nIndex)
 
void OnSetFont (HFONT hFont, bool bRedraw)
 
virtual void DrawItem (LPDRAWITEMSTRUCT lpDrawItemStruct)
 
HWND Detach ()
 
- Protected Member Functions inherited from Bagel::MFC::CCmdTarget
const AFX_MSGMAP_ENTRYLookupMessage (unsigned int message)
 
const AFX_MSGMAP_ENTRYAfxFindMessageEntry (const AFX_MSGMAP_ENTRY *lpEntry, unsigned int nMsg, unsigned int nCode, unsigned int nID)
 
bool _AfxDispatchCmdMsg (CCmdTarget *pTarget, unsigned int nID, int nCode, AFX_PMSG pfn, void *pExtra, unsigned int nSig, AFX_CMDHANDLERINFO *pHandlerInfo)
 

Static Protected Member Functions

static const AFX_MSGMAPGetThisMessageMap ()
 
- Static Protected Member Functions inherited from Bagel::MFC::CView
static const AFX_MSGMAPGetThisMessageMap ()
 
- Static Protected Member Functions inherited from Bagel::MFC::CWnd
static const MSGGetCurrentMessage ()
 
static const AFX_MSGMAPGetThisMessageMap ()
 
static bool isRecursiveMessage (unsigned int message)
 

Additional Inherited Members

- Static Public Member Functions inherited from Bagel::MFC::CWnd
static CWndFromHandlePermanent (HWND hWnd)
 
static CWndFromHandle (HWND hWnd)
 
static void SendMessageToDescendants (HWND hWnd, unsigned int message, WPARAM wParam, LPARAM lParam, bool bDeep, bool bOnlyPerm)
 
- Static Public Member Functions inherited from Bagel::MFC::CCmdTarget
static const AFX_MSGMAPGetThisMessageMap ()
 
- Public Attributes inherited from Bagel::MFC::CView
CDocumentm_pDocument = nullptr
 
- Public Attributes inherited from Bagel::MFC::CWnd
CWndm_hWnd = nullptr
 
CWndm_pParentWnd = nullptr
 
int m_nClassStyle = 0
 
int m_nStyle = 0
 
int _modalResult = DEFAULT_MODAL_RESULT
 
bool _hasFocus = false
 
CString _windowText
 
Common::Rect _windowRect
 
Common::Rect _updateRect
 
Common::Rect _updatingRect
 
bool _updateErase = false
 
- Static Public Attributes inherited from Bagel::MFC::CObject
static const CRuntimeClass classCObject
 
- Protected Attributes inherited from Bagel::MFC::CWnd
Libs::Array< CWnd * > _ownedControls
 
CDC_pDC = nullptr
 
HFONT _hFont
 
HBRUSH _hBrush
 
HPEN _hPen
 
HPALETTE _hPalette
 
Common::HashMap< int, CWnd * > _children
 
int m_nFlags = 0
 
int _itemState = 0
 
int _controlId = 0
 

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