摘要: 代码实例1: 代码实例2: 阅读全文
posted @ 2019-01-01 06:00 jadeshu 阅读(670) 评论(0) 推荐(0) 编辑
摘要: // @time: 2012.3.26 // @author: jadeshu // des: DirectX键盘控制程序 #include #include #include #include #define DIRECTINPUT_VERSION 0x0800 #include #define ReleaseD3D(x) if (x!=NULL){x->Release();x=... 阅读全文
posted @ 2019-01-01 05:59 jadeshu 阅读(452) 评论(0) 推荐(0) 编辑
摘要: // @time 2012.3.25 // @author jadeshu #include #include #include #pragma comment(lib,"d3d9.lib") #pragma comment(lib,"d3dx9.lib") #pragma comment(lib,"winmm.lib") wchar_t *g_pClassName=L"Transform... 阅读全文
posted @ 2019-01-01 05:56 jadeshu 阅读(177) 评论(0) 推荐(0) 编辑
摘要: // @time 2012.3.5 // @author jadeshu //包含头文件 #include #include #pragma comment(lib,"d3d9.lib") //自定义 #define ReleaseD3D(x) if (x!=NULL){x->Release();x=NULL;} //定义设备接口 IDirect3DDevice9 * g_pDevic=... 阅读全文
posted @ 2019-01-01 05:53 jadeshu 阅读(259) 评论(0) 推荐(0) 编辑
摘要: 1.添加头文件 2.用QTextCodec 设置格式转换 阅读全文
posted @ 2019-01-01 03:48 jadeshu 阅读(2795) 评论(0) 推荐(1) 编辑
摘要: 1. QString转为char * 2. char *转为QString 阅读全文
posted @ 2019-01-01 02:37 jadeshu 阅读(4726) 评论(0) 推荐(0) 编辑
摘要: 1.派生QAbstractNativeEventFilter,重写nativeEventFilter()函数 2.main函数添加类对象 阅读全文
posted @ 2019-01-01 02:29 jadeshu 阅读(545) 评论(0) 推荐(0) 编辑
摘要: winId()函数 阅读全文
posted @ 2019-01-01 02:24 jadeshu 阅读(5783) 评论(0) 推荐(0) 编辑