| 1993 | } |
| 1994 | |
| 1995 | void CExt2MgrDlg::OnDisableAutorun() |
| 1996 | { |
| 1997 | Ext2SetAppAutorun(FALSE); |
| 1998 | |
| 1999 | CMenu* pMenu = AfxGetMainWnd()->GetMenu(); |
| 2000 | CMenu* pSubFile = pMenu->GetSubMenu(0); |
| 2001 | if (pSubFile) { |
| 2002 | if (Ext2RunMgrForCurrentUser()) { |
| 2003 | pSubFile->EnableMenuItem(ID_ENABLE_AUTOSTART, MF_BYCOMMAND|MF_GRAYED|MF_DISABLED); |
| 2004 | pSubFile->EnableMenuItem(ID_DISABLE_AUTOSTART, MF_BYCOMMAND|MF_ENABLED); |
| 2005 | } else { |
| 2006 | pSubFile->EnableMenuItem(ID_ENABLE_AUTOSTART, MF_BYCOMMAND|MF_ENABLED); |
| 2007 | pSubFile->EnableMenuItem(ID_DISABLE_AUTOSTART, MF_BYCOMMAND|MF_GRAYED|MF_DISABLED); |
| 2008 | } |
| 2009 | } |
| 2010 | } |
| 2011 | |
| 2012 | void CExt2MgrDlg::OnPerfStat() |
| 2013 | { |
nothing calls this directly
no test coverage detected