avisnet's blog

  博客园 :: 首页 :: 新随笔 :: 联系 :: 订阅 :: 管理 ::

随笔分类 -  c++

摘要:关键字 弹出式 IE 浏览器原作者姓名 易剑 源地址:http://www.vchelp.net/itbookreview/view_paper.asp?paper_id=646介绍用 VC 编程实现自动关闭弹出式 IE 窗口程序 正文演示工程下载地址: http://www.megspace.com/computers/bigtime 【实现原理】弹出式 IE 窗口的特征有:无莱单栏、无工具栏或... 阅读全文
posted @ 2006-10-19 08:45 avisnet 阅读(746) 评论(2) 推荐(0)

摘要:集合类的帮助函数: CompareElements Indicates whether elements are the same. CopyElements Copies elements from one array to another. DumpElements Provides stream-oriented diagnostic output. HashKey Calculates a... 阅读全文
posted @ 2006-10-13 23:39 avisnet 阅读(212) 评论(0) 推荐(0)

摘要:BOOL CMainFrame::PreCreateWindow(CREATESTRUCT& cs){if(!CFrameWndBase::PreCreateWindow(cs))return FALSE;cs.dwExStyle &= ~WS_EX_CLIENTEDGE;return TRUE;}BOOL CMainView::PreCreateWindow(CREATESTRU... 阅读全文
posted @ 2006-10-09 14:34 avisnet 阅读(206) 评论(0) 推荐(0)

摘要:BOOL CRoiDialog::ContinueModal(){ if(m_wndToolBar.IsWindowVisible()) { CWnd* pWndParent = m_wndToolBar.GetParent(); m_wndToolBar.OnUpdateCmdUI((CFrameWnd*)this, TRUE); } return CDialog::ContinueMod... 阅读全文
posted @ 2006-10-08 15:44 avisnet 阅读(225) 评论(0) 推荐(0)

摘要:class CRecycleFile : private SHFILEOPSTRUCT {public: CRecycleFile() { memset((SHFILEOPSTRUCT*)this,0,sizeof(SHFILEOPSTRUCT)); fFlags |= FOF_SILENT; // don't report progress fFlags |... 阅读全文
posted @ 2006-09-23 23:55 avisnet 阅读(403) 评论(0) 推荐(0)

摘要://// The section is SHARED among all instances of this DLL.// A low-level keyboard hook is always a system-wide hook.// #pragma data_seg (".mydata")HHOOK g_hHookKbdLL = NULL; BOOL g_bBeep = FALSE; #p... 阅读全文
posted @ 2006-09-23 21:11 avisnet 阅读(314) 评论(0) 推荐(0)

摘要:按照c++标准,编译器会生成五个默认成员函数: 默认构造函数 拷贝构造函数 析构函数 operator= operator& 一个空的class在C++编译器处理过后就不再为空,编译器会自动地为我们声明一些member function,如果你写 : class Empty {}; 就相当于: class Empty { public: ... 阅读全文
posted @ 2006-09-22 14:52 avisnet 阅读(448) 评论(0) 推荐(0)

摘要:LINK : warning LNK4089: all references to "GDI32.dll" discarded by /OPT:REF The warning means that your program contains functions that call GDI, but the functions are never called, so the link to GDI... 阅读全文
posted @ 2006-09-21 17:51 avisnet 阅读(1471) 评论(0) 推荐(0)

摘要:#pragma warning(push)#pragma warning(disable : 4068 4267 4018)...#pragma warning(pop) 阅读全文
posted @ 2006-09-21 11:01 avisnet 阅读(219) 评论(0) 推荐(0)

摘要:typedef int* PINT; const PINT p = NULL; 变量p是什么类型? 阅读全文
posted @ 2006-09-19 08:56 avisnet 阅读(253) 评论(0) 推荐(0)

摘要:STLport http://www.stlport.org boost http://www.boost.org/http://sourceforge.net/projects/boost/Boost库是一个经过千锤百炼、可移植、提供源代码的C++库,作为标准库的后备,是C++标准化进程的发动机之一。 Boost库由C++标准委员会库工作组成员发起,在C++社... 阅读全文
posted @ 2006-09-09 10:41 avisnet 阅读(977) 评论(0) 推荐(0)