[Debugger] Stack View: Remember window position
This commit is contained in:
parent
d60558dacb
commit
c949b8e107
|
@ -53,6 +53,11 @@ LRESULT CDebugStackView::OnInitDialog(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /
|
|||
return 0;
|
||||
}
|
||||
|
||||
void CDebugStackView::OnExitSizeMove(void)
|
||||
{
|
||||
SaveWindowPos(StackView_Top, StackView_Left);
|
||||
}
|
||||
|
||||
LRESULT CDebugStackView::OnDestroy(void)
|
||||
{
|
||||
m_StackList.Detach();
|
||||
|
|
|
@ -30,12 +30,14 @@ private:
|
|||
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);
|
||||
|
||||
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);
|
||||
END_MSG_MAP()
|
||||
|
||||
BEGIN_DLGRESIZE_MAP(CDebugStackView)
|
||||
|
|
Loading…
Reference in New Issue