Skip to content

Commit

Permalink
SPP Reset button to remove reset values in Section "General"
Browse files Browse the repository at this point in the history
Values that change when pressing "Reset"
Wizard_GUI Checked="1"
Stopped Checked="0"
Hide_Unique_Msg Checked="0"
  • Loading branch information
shauleiz committed Feb 19, 2016
1 parent 3926f3d commit 31285f1
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions SPP4/trunk/Spp/SppUI/SppDlg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -371,6 +371,16 @@ LRESULT SppDlg::Reset(void)
if (m_hrsrc.TabAdvnc)
m_hrsrc.TabAdvnc->Reset();

// Reset GUI to Wizard mode
Show();
Iconified(false);

// Reset to not "Stopped" mode
SendMessage(m_ConsoleWnd, WMSPP_DLG_STREAM, (WPARAM)TRUE, 0);

// Reset "Don't show again" to show the unique SPP process dialog box.
SendMessage(m_ConsoleWnd, WM_INTERSPPAPPSGETUNIQ, (WPARAM)TRUE, (LPARAM)FALSE);

return TRUE;
}

Expand Down

0 comments on commit 31285f1

Please sign in to comment.