[Debugger] DMALog: Remember window position
This commit is contained in:
parent
cd0d067982
commit
ad7df17b96
|
@ -191,6 +191,11 @@ LRESULT CDebugDMALogView::OnInitDialog(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM
|
|||
return TRUE;
|
||||
}
|
||||
|
||||
void CDebugDMALogView::OnExitSizeMove(void)
|
||||
{
|
||||
SaveWindowPos(DMALogView_Top, DMALogView_Left);
|
||||
}
|
||||
|
||||
LRESULT CDebugDMALogView::OnDestroy(void)
|
||||
{
|
||||
if (m_AutoRefreshThread != NULL)
|
||||
|
|
|
@ -54,6 +54,7 @@ private:
|
|||
LRESULT OnRomAddrChanged(WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL& bHandled);
|
||||
LRESULT OnCustomDrawList(NMHDR* pNMHDR);
|
||||
LRESULT OnDestroy(void);
|
||||
void OnExitSizeMove(void);
|
||||
|
||||
BEGIN_MSG_MAP_EX(CDebugDMALogView)
|
||||
MESSAGE_HANDLER(WM_INITDIALOG, OnInitDialog)
|
||||
|
@ -63,6 +64,7 @@ private:
|
|||
COMMAND_HANDLER(IDC_DMA_ROM_EDIT, EN_CHANGE, OnRomAddrChanged)
|
||||
NOTIFY_HANDLER_EX(IDC_DMA_LIST, NM_CUSTOMDRAW, OnCustomDrawList)
|
||||
CHAIN_MSG_MAP(CDialogResize<CDebugDMALogView>)
|
||||
MSG_WM_EXITSIZEMOVE(OnExitSizeMove)
|
||||
END_MSG_MAP()
|
||||
|
||||
BEGIN_DLGRESIZE_MAP(CDebugDMALogView)
|
||||
|
|
Loading…
Reference in New Issue