From: <par...@us...> - 2003-04-01 23:34:45
|
Update of /cvsroot/decaldev/source/DenAgent In directory sc8-pr-cvs1:/tmp/cvs-serv26799 Modified Files: DenAgentDlg.cpp Log Message: confirmation box on plugin removal Index: DenAgentDlg.cpp =================================================================== RCS file: /cvsroot/decaldev/source/DenAgent/DenAgentDlg.cpp,v retrieving revision 1.29 retrieving revision 1.30 diff -C2 -d -r1.29 -r1.30 *** DenAgentDlg.cpp 22 Mar 2003 02:43:13 -0000 1.29 --- DenAgentDlg.cpp 1 Apr 2003 23:34:41 -0000 1.30 *************** *** 746,749 **** --- 746,754 ---- return; + //ask permission MB_OKCANCEL | MB_ICONEXCLAMATION = IDOK + //_snprintf(szMsg, 512, "You are about to remove %s\nPress OK to continue", stuff) + if ( ::MessageBox(NULL, _T("You are about to remove this plugin.\nPress OK to continue"), _T("Remove Plugin"), MB_OKCANCEL | MB_ICONEXCLAMATION) != IDOK ) + return; + //load up the decal registry and remove this entry CRegKey keyPlugin; |