Add shield icon to start/stop server button.

This commit is contained in:
Ron Pedde
2007-03-13 03:43:30 +00:00
parent 63b49ffd04
commit aa2a9c2c43
4 changed files with 6 additions and 2 deletions

View File

@@ -47,6 +47,9 @@ LRESULT CAdvancedPage::OnInitDialog(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*l
}
UpdateControls();
GetDlgItem(IDC_STARTSERVICE).SendMessage(BCM_SETSHIELD,0,TRUE);
GetDlgItem(IDC_STOPSERVICE).SendMessage(BCM_SETSHIELD,0,TRUE);
GetApplication()->ServiceStatusSubscribe(this);
return 0;
}