转载:https://www.zhaokeli.com/article/8266.html 温馨提示:技术类文章有它的时效性,请留意文章更新时间以及软件的版本 功能描述 实现点击关闭后,程序最小化到托盘中并显示图标,单击图标销毁图标并且显示窗口,右键弹出菜单退出,点击退出关闭程序 功能实现 使用托盘 Read More
posted @ 2019-07-23 10:38 _KikyoBK Views(1210) Comments(0) Diggs(0) Edit
https://bbs.csdn.net/topics/392055617?page=1 见2楼 system("start \"\" \"文件夹路径\""); 例: Read More
posted @ 2019-07-21 19:56 _KikyoBK Views(2014) Comments(0) Diggs(0) Edit
转载:https://www.cnblogs.com/sherlock-merlin/p/10792116.html https://univasity.iteye.com/blog/805234 注意:调用CreateFileA需要管理员权限,因此需要在编译成功后右击exe文件以管理员身份运行才能 Read More
posted @ 2019-07-19 11:05 _KikyoBK Views(408) Comments(0) Diggs(0) Edit
转载:https://www.cnblogs.com/tinaluo/p/6824674.html 例子:找到C盘中所有后缀为exe的文件(不包括文件夹下的exe文件) Read More
posted @ 2019-07-18 15:17 _KikyoBK Views(1772) Comments(0) Diggs(0) Edit
参考:https://blog.csdn.net/Rongbo_J/article/details/47379997 https://www.cnblogs.com/happinessday/p/6369321.html 1.打开资源视图,在工程上点击右键=>添加=>资源,打开添加资源对话框,选择I Read More
posted @ 2019-07-17 15:11 _KikyoBK Views(832) Comments(0) Diggs(0) Edit
《Windows程序设计》(第五版)(美Charles Petzold著) 1 #include<windows.h> 2 3 LRESULT CALLBACK WndProc(HWND,UINT,WPARAM,LPARAM); 4 5 int WINAPI WinMain(HINSTANCE hI Read More
posted @ 2019-07-16 10:51 _KikyoBK Views(398) Comments(0) Diggs(0) Edit
转载:pycharm最常用的快捷键总结 一 常用快捷键 编辑类:Ctrl + D 复制选定的区域或行Ctrl + Y 删除选定的行Ctrl + Alt + L 代码格式化Ctrl + Alt + O 优化导入(去掉用不到的包导入)Ctrl + 鼠标 简介/进入代码定义 Ctrl + / 行注释 、取 Read More
posted @ 2019-07-10 19:55 _KikyoBK Views(312) Comments(0) Diggs(0) Edit
转载:python中的字符数字之间的转换函数 int(x [,base ]) 将x转换为一个整数 long(x [,base ]) 将x转换为一个长整数 float(x ) 将x转换到一个浮点数 complex(real [,imag ]) 创建一个复数 str(x ) 将对象 x 转换为字符串 r Read More
posted @ 2019-07-08 09:46 _KikyoBK Views(304) Comments(0) Diggs(0) Edit
转载:C++中map的用法 map的特性是,所有元素都会根据元素的减值自动被排序。map的所有元素都是pair,同时拥有实值(value)和键值(key)。pair的第一个元素会被视为键值,第二个元素会被视为实值。map不允许两个元素拥有相同的键值。 下面看一下<stl_pair.h>中的pair定 Read More
posted @ 2019-07-03 19:43 _KikyoBK Views(5442) Comments(0) Diggs(0) Edit
删除键-值对 del alien['points'] 遍历字典 for key,value in user.items(): ... 遍历字典时,会默认遍历字典中的所有键 遍历字典中所有值 for language in fl,values(): ... input() 接受一个参数,即要向用户显示 Read More
posted @ 2019-07-02 17:57 _KikyoBK Views(169) Comments(0) Diggs(0) Edit