凌云居

人类的悲欢并不相通

Skip to content
Menu
  • 首页

分类: 代码收集

【转】C++ 11 生成 GUID

by DestinyPosted on2021年9月23日

#include <sstream> #include <ra…

Read More

以管理员权限运行程序

by DestinyPosted on2021年7月8日

#include <shellapi.h> BOOL IsRunAs…

Read More

Win32 调用堆栈打印

by DestinyPosted on2020年11月12日

void printCallStack(ushort maxLine) { ty…

Read More

Windows 下临时禁用输入法

by DestinyPosted on2019年12月4日

目前遇到一个需求,是要在弹出右键菜单时禁用掉输入法。找了一圈没找到 Qt 的比较…

Read More

一些字符串处理函数

by DestinyPosted on2019年7月24日

template<class T, class I> bool __…

Read More

编码处理相关

by DestinyPosted on2019年7月24日

获取一个UTF-8的std::locale std::locale Utf8Lo…

Read More

Qt4 高分屏适配工具函数

by DestinyPosted on2019年6月6日

QString fitStyle(const QString & sty…

Read More

某些情况下,keyPressEvent无法匹配快捷键的解决办法

by DestinyPosted on2019年5月22日

if (event->type() == QEvent::KeyPress…

Read More

利用 GDI+ 从资源文件加载和缩放 PNG

by DestinyPosted on2019年4月26日

之前实现了右键菜单(shellext context menu)功能,开始用的是…

Read More

IsBadReadPtr 在 macOS 下的实现

by DestinyPosted on2018年12月3日

#ifdef _WIN32 bool __isBadReadPtr(const …

Read More
登录
© Copyright 2025 – 凌云居
Geodesic Theme by GetWPTemplates ⋅ Powered by WordPress