project64/Source/Project64/UserInterface/Debugger/Debugger-StackView.h

36 lines
1001 B
C
Raw Normal View History

2017-08-18 05:08:22 +00:00
#pragma once
class CDebugStackView :
2017-09-13 10:36:03 +00:00
public CDebugDialog<CDebugStackView>,
public CDialogResize<CDebugStackView>
2017-08-18 05:08:22 +00:00
{
public:
2017-09-13 10:36:03 +00:00
enum { IDD = IDD_Debugger_Stack };
CDebugStackView(CDebuggerUI * debugger);
virtual ~CDebugStackView(void);
2017-08-18 05:08:22 +00:00
2017-09-13 10:36:03 +00:00
void Refresh();
2017-08-18 05:08:22 +00:00
private:
2017-09-13 10:36:03 +00:00
CListViewCtrl m_StackList;
CStatic m_SPStatic;
LRESULT OnInitDialog(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled);
LRESULT OnDestroy(void);
LRESULT OnClicked(WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL& bHandled);
void OnExitSizeMove(void);
2017-09-13 10:36:03 +00:00
BEGIN_MSG_MAP_EX(CDebugStackView)
MESSAGE_HANDLER(WM_INITDIALOG, OnInitDialog)
MSG_WM_DESTROY(OnDestroy)
COMMAND_CODE_HANDLER(BN_CLICKED, OnClicked)
CHAIN_MSG_MAP(CDialogResize<CDebugStackView>)
MSG_WM_EXITSIZEMOVE(OnExitSizeMove);
2017-09-13 10:36:03 +00:00
END_MSG_MAP()
BEGIN_DLGRESIZE_MAP(CDebugStackView)
DLGRESIZE_CONTROL(IDC_STACK_LIST, DLSZ_SIZE_X | DLSZ_SIZE_Y)
END_DLGRESIZE_MAP()
};