上一页 1 ··· 3 4 5 6 7 8 9 下一页
摘要: //在OnCreate中添加 //设置正常字体 LOGFONT lf; afxGlobalData.fontRegular.GetLogFont(&lf); afxGlobalData.fontRegular.DeleteObject(); lf.lfHeight = -12; lstrcpy(lf.lfFaceName, _T("宋体")); // using without s... 阅读全文
posted @ 2010-02-16 16:24 吾非无心 阅读(511) 评论(0) 推荐(0)
摘要: 代码 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--//MyPipeServer.h:interfacefortheCMyPipeServerclass.////////////////////////////////////////////////... 阅读全文
posted @ 2009-11-29 16:14 吾非无心 阅读(570) 评论(0) 推荐(0)
摘要: VC之网页获取(能区分GB2312与UTF8) 阅读全文
posted @ 2009-11-29 16:08 吾非无心 阅读(622) 评论(0) 推荐(0)
摘要: void CRightFrame::OnWindowPosChanging(WINDOWPOS* lpwndpos){ lpwndpos->x -=2; lpwndpos->y -=2; lpwndpos->cx +=4; lpwndpos->cy +=4; CFrameWnd::OnWindowPosChanging(lpwndpos);}void CRightFrame... 阅读全文
posted @ 2009-11-14 11:13 吾非无心 阅读(708) 评论(0) 推荐(0)
摘要: 在类1中定义回调函数[代码]回调函数的实现[代码]在类1中还要在适当地方,将回调函数的地址传给类2实例:Initialize(NotifyProc)在类2 中先定义typedef void (CALLBACK* NOTIFYPROC)(LPVOID, ClientContext*, UINT nCode);//参数类型必须与类1中回调函数类型完全一致[代码]在类2中将类1实例传来的回调函数地址指定... 阅读全文
posted @ 2009-10-22 22:49 吾非无心 阅读(1097) 评论(0) 推荐(0)
摘要: 头文件[代码]CPP实现文件:[代码]使用示例:...#include "MyServiceStatus.h"class CNTServCtrlDlg : public CDialog{...private:CMyServiceStatus m_MyServiceStatus;}////////////////////////////////////////////////////////////... 阅读全文
posted @ 2009-10-20 11:47 吾非无心 阅读(242) 评论(0) 推荐(0)
摘要: 有时候我们需要将远程两台服务器的数据进行修改、更新等操作。这时希望在一台服务器的方便的查询另一台服务器的表。下面就是操作的方法与步骤: 阅读全文
posted @ 2009-08-26 11:14 吾非无心 阅读(351) 评论(0) 推荐(0)
摘要: javascript 通用对话框类.支持IE FF;对话框大小、标题、关闭按钮可调,内容可来自网页(只有BODY内的内容),也可用HTML字符串指定; 阅读全文
posted @ 2009-04-30 23:41 吾非无心 阅读(760) 评论(1) 推荐(0)
摘要: javascript写的异步请求/提交类(支持跨域),测试环境:IIS6 .NET2 IE6 IE7 FF3 阅读全文
posted @ 2009-02-01 22:06 吾非无心 阅读(1448) 评论(1) 推荐(1)
摘要: 自己写的取色器,方便缩放,兼容IE和FF 阅读全文
posted @ 2009-01-10 23:09 吾非无心 阅读(432) 评论(0) 推荐(0)
上一页 1 ··· 3 4 5 6 7 8 9 下一页