wordpress生成接口,seo搜索优化邵阳,站优云网络公司,创新的成都 网站建设最近做的一个项目,
在使用windows的时候,我希望在右键菜单中添加一个自定义的选项, 该选项下有我经常使用的多个程序快捷方式,
直接上代码
头文件
#pragma once #include Windows.h #include iostream #include string
using namespace std; …最近做的一个项目,
在使用windows的时候,我希望在右键菜单中添加一个自定义的选项, 该选项下有我经常使用的多个程序快捷方式,
直接上代码
头文件
#pragma once #include Windows.h #include iostream #include string
using namespace std;
const std::string strChangeableParam = "%1"; const std::string strAboutParam = "-about"; const std::string strPrimaryMenuName = "日志解密"; const std::string strSecondaryMenuIDDecipher = "ClearLog"; const std::string strSecondaryMenuNameDecipher = "解密..."; const std::string strSecondaryMenuIDAbout = "ClearLogAbout"; const std::string strSecondaryMenuNameAbout = "关于";
const std::string appToAimFileName = "AppliesTo"; const std::string aimFileType = "loge"; const std::string subCommands = "SubCommands"; const std::string strlogoName = "Icon";
//添加一级菜单,文件右键快捷键 bool addFilePrimaryMenu(string strMenuText, string SecondaryMenu1, string SecondaryMenu2, string strAppPath);
//删除一级菜单 bool delFilePrimaryMenu(string strMenuText);
//添加二级菜单 bool addSecondaryMenu(string mmenuID, string strMenuText, string strApplication, string strAppStartParam);
//删除二级菜单 bool delSecondaryMenu(string strMenuID);
//添加文件夹一级菜单 bool addDirPrimaryMenu(string strMenuText, string SecondaryMenu1, string SecondaryMenu2, string strAppPath);
//删除文件夹一级菜单 bool delDirPrimaryMenu(string strMenuText);
//添加空白区域一级菜单 bool addBlankPrimaryMenu(string strMenuText, string SecondaryMenu1, string SecondaryMenu2, string strAppPath);
//删除空白区域一级菜单 bool delBlankPrimaryM