qintangtao

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 31 下一页

2013年8月25日

摘要: //主要两个步骤://第一个步骤就是在CMainFrame::OnCreate里面增加 HINSTANCE hInst = LoadLibrary(_T("UxTheme.dll")); if (hInst) { typedef HRESULT (WINAPI *PFUN_SetWindowTheme)(HWND, LPCTSTR, LPCTSTR); PFUN_SetWindowTheme pFun = (PFUN_SetWindowTheme)GetProcAddress(hInst, "SetWindowTheme"); if (p... 阅读全文
posted @ 2013-08-25 23:18 qintangtao 阅读(442) 评论(0) 推荐(0) 编辑

2013年8月22日

该文被密码保护。 阅读全文
posted @ 2013-08-22 14:23 qintangtao 阅读(5) 评论(0) 推荐(0) 编辑

2013年8月15日

摘要: MouseHook.dllMouseHook.h#pragma once/*global*/ extern DWORD g_dwThreadId; extern HINSTANCE g_Hinstance; extern HHOOK g_MouseHook; extern POINT g_ptOld;/*define*/#define WM_MOUSEMOVE_ALL WM_USER+1000/*export*/ extern "C" __declspec(dllexport) BOOL SetHook(DWORD dwThreadId); LRESULT CALLBACK 阅读全文
posted @ 2013-08-15 16:47 qintangtao 阅读(532) 评论(0) 推荐(0) 编辑

摘要: DllTest工程QMath.h#pragma once#ifdef API_EXPORT#define DLL_CLASS __declspec(dllexport)#define DLL_API extern "C" __declspec(dllexport)#else#define DLL_CLASS __declspec(dllimport)#define DLL_API extern "C" __declspec(dllimport)#endifDLL_API int Add(int a, int b);DLL_API int Sub(int 阅读全文
posted @ 2013-08-15 14:46 qintangtao 阅读(236) 评论(0) 推荐(0) 编辑

2013年7月25日

该文被密码保护。 阅读全文
posted @ 2013-07-25 22:12 qintangtao 阅读(2) 评论(0) 推荐(0) 编辑

2013年7月24日

该文被密码保护。 阅读全文
posted @ 2013-07-24 11:24 qintangtao 阅读(1) 评论(0) 推荐(0) 编辑

2013年7月23日

该文被密码保护。 阅读全文
posted @ 2013-07-23 14:37 qintangtao 阅读(2) 评论(0) 推荐(0) 编辑

该文被密码保护。 阅读全文
posted @ 2013-07-23 11:16 qintangtao 阅读(5) 评论(0) 推荐(0) 编辑

2013年7月18日

摘要: Button.h#pragma once// QButtonclass QButton : public CButton{ DECLARE_DYNAMIC(QButton)// Constructionpublic: QButton(); //Attributesprotected: //The outside border of the button CPen m_penBoundry; //When the mouse pointer above button button inside the frame CPen m_penInsideBoun... 阅读全文
posted @ 2013-07-18 16:16 qintangtao 阅读(386) 评论(0) 推荐(0) 编辑

2013年7月1日

该文被密码保护。 阅读全文
posted @ 2013-07-01 14:02 qintangtao 阅读(6) 评论(0) 推荐(0) 编辑

上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 31 下一页