11 2006 档案

www.wangtam.com
摘要:www.wangtam.com 此网站 有许多可借用的通栏图片博克 顶部 通栏图片 阅读全文

posted @ 2006-11-29 07:50 cy163 阅读(268) 评论(0) 推荐(0) 编辑

Build A Successful Site In 12 Months
摘要:The following will build a successful site in one years time via Google alone. It can be done faster if you are a real go getter, or everyone's favorite, a self starter. 1. Prep Work & Begin Building ... 阅读全文

posted @ 2006-11-27 23:26 cy163 阅读(302) 评论(0) 推荐(0) 编辑

《循序渐进学用Visual C++ 6.0》读书笔记(七
摘要:《循序渐进学用Visual C++ 6.0》读书笔记(七) l 题设:画一个对话框MyDlg , 一个List Box(IDC_LB) , 一个静态文本(IDC_STEXT),同时为list box创建空件型成员变量 m_ctlListBox和字符串型成员变量m_strListBox. 今日我们要学习字体控制,但是我们必须了解一些必备知识。 l LogFont结构 ... 阅读全文

posted @ 2006-11-25 22:41 cy163 阅读(922) 评论(0) 推荐(0) 编辑

VC 控件的字体控制 若将字体设置成“宋体、仿宋—GB2312、隶书、幼圆”中的某一字体时,需将lfCharSet设置成GB2312—CHARSET才使设置的字体有效
摘要:http://www.wanfangdata.com.cn/qikan/periodical.articles/jsjyy/jsjy99/jsjy9902/990219.htm VC++控件的汉字及颜色的编程控制 丁有和 孙健 摘 要 文章着重讨论如何用编程的方法控制... 阅读全文

posted @ 2006-11-25 22:40 cy163 阅读(22287) 评论(0) 推荐(1) 编辑

VC6.0中怎样引入lib文件
摘要:两种方法:1、在TOOLS->OPTIONS->Directories->Library files,加入你的LIB文件所在的目录,然后在Project->setting->object->Object/Library Modules中加入你的LIB文件,如you.lib2、在Project->Add to Project->Files中将你的LIB文件直接加入到工程中去。要用一个dll(假设这个... 阅读全文

posted @ 2006-11-25 20:45 cy163 阅读(6123) 评论(2) 推荐(0) 编辑

慧科新闻、慧科搜索
摘要:组别名称:tjdlcn用户名称2: tjdl (10个并发用户) 密码: tjdl用户名称3: tjdl1 (10个并发用户) 密码: tjdl1用户名称4: tjdl2 (10个并发用户) 密码: tjdl2 阅读全文

posted @ 2006-11-19 22:35 cy163 阅读(654) 评论(0) 推荐(0) 编辑

www.sinobankers.com/forum“今日新帖”“最新会员”“论坛热贴”消失问题
摘要:2006年 11月19日 发现 “今日新帖”“最新会员”“论坛热贴”消失。并且无法通过 /adminadmin/log.asp进入后台管理页面。在密码正确的情况下,log.asp进入的页是空的。利用ftp工具进入远端服务器文件目录系统,发现在目录(1)Admin.asp和(2)Index.asp的修改时间是2006-11-09 7:56。即早晨的7:56。而那时我正在75栋睡觉(星期日)。另外,.... 阅读全文

posted @ 2006-11-19 21:27 cy163 阅读(317) 评论(0) 推荐(0) 编辑

修改 Window Title 为当前目录
摘要:在CTestingView.OnInitialUpdate()添加 //得到当前目录 CString strCurrentPath; GetCurrentDirectory(200,strCurrentPath.GetBuffer(200)); strCurrentPath.ReleaseBuffer(); AfxGetMainWnd()->SetWindowText(_T(strCurrentP... 阅读全文

posted @ 2006-11-18 07:15 cy163 阅读(352) 评论(0) 推荐(0) 编辑

如何用 Win32 APIs 枚举应用程序窗口和进程
摘要:[ 翻译文档 本文适合高级读者 已阅读15336次 ] ... 阅读全文

posted @ 2006-11-15 23:31 cy163 阅读(591) 评论(0) 推荐(0) 编辑

内存泄漏
摘要:记得在每个源文件(c,cpp)开头的第一行有效代码之前包含下面这个头文件, 即加上:#include 然后使用宏开关 DEBUG_MEMORY_LEAK 就可以控制打开或关闭内层泄漏检测了.检测结果在vc的output窗口里面找. CODE: [Copy to clipboard] // file: bound_checker.h#ifndef __BOUND_CHECKER_H__#defi... 阅读全文

posted @ 2006-11-15 20:51 cy163 阅读(464) 评论(0) 推荐(0) 编辑

A System for Collecting and Analyzing Topic-Specific Web Information
摘要:WTMS: A System for Collecting and Analyzing Topic-Specific Web Information Sougata Mukherjea, C&C Research Laboratories, NEC USA Inc., San Jose, Ca, USA Abstract: With the explosive growth of the... 阅读全文

posted @ 2006-11-13 23:28 cy163 阅读(524) 评论(0) 推荐(0) 编辑

一堆信息抽取的资料文档
摘要:关键词:结构化信息抽取 “一堆”,就是没有整理,是堆放的。不是自己写的,是找来的。我会在这里继续添加的,依然是“堆”。有兴趣的可以看看,没有兴趣的就别碰了。 ... 阅读全文

posted @ 2006-11-11 09:45 cy163 阅读(757) 评论(2) 推荐(1) 编辑

界面设计代码收集
摘要:VC代码收集一、改变视图背景色: 在CView的OnDraw函数中添写如下一段程序代码: void CFileNameView::OnDraw(CDC* pDC) {CFileNameDoc* pDoc = GetDocument();ASSERT_VALID(pDoc);CRect rectClient;CBrush brushBkColor;GetClientRect(rec... 阅读全文

posted @ 2006-11-10 06:58 cy163 阅读(1714) 评论(0) 推荐(0) 编辑

show tooltip on control
摘要:http://www.borngeek.com/coding/dialog/control_tooltips.html Adding Tooltips to Dialog Controls Back to the Coding Article Index Enabling Tooltips Enabling tooltips on dialog controls can be extremely... 阅读全文

posted @ 2006-11-10 06:44 cy163 阅读(588) 评论(0) 推荐(0) 编辑

showing tooltip on controls (description on TTN_NEEDTEXT)
摘要:Before the tool tip is displayed, the TTN_NEEDTEXT notification message is sent to the owner window of the toolbar to retrieve the descriptive text fo... 阅读全文

posted @ 2006-11-10 06:20 cy163 阅读(3947) 评论(0) 推荐(0) 编辑

Showing Tool Tips on controls
摘要:CToolTipCtrl can be used to attach tool tips for controls. The tool tips can be placed on any controls using AddTool(), a member function of CToolTipCtrl. This article explains how to show Tool Tips f... 阅读全文

posted @ 2006-11-08 22:41 cy163 阅读(340) 评论(0) 推荐(0) 编辑

UNICODE Conversions in Visual C++
摘要:Introduction If you live in Eastern Europe, Japan or the Middle East, and you write computer programs, you are probably familiar with UNICODE. If you are writing programs in Visual C++/MFC, then you p... 阅读全文

posted @ 2006-11-06 22:47 cy163 阅读(865) 评论(0) 推荐(0) 编辑

看此文 学会利用 CEvent实现从主线程 终止 线程
摘要:MSDN Library > Development Tools and Languages > Visual Studio 2005 > Visual Studio > Visual C++ > Reference > Libraries Reference > MFC > Classes > CEvent Class Collapse All Language Filter : All... 阅读全文

posted @ 2006-11-06 22:41 cy163 阅读(1347) 评论(0) 推荐(0) 编辑

CEvent, terminate thread
摘要:MSDN Library > Development Tools and Languages > Visual Studio 2005 > Visual Studio > Visual C++ > Reference > Libraries Reference > MFC > Classes > CEvent Class Collapse All Language Filter : All ... 阅读全文

posted @ 2006-11-06 13:38 cy163 阅读(914) 评论(0) 推荐(0) 编辑

文档 视图 框架窗口间的关系和消息传送规律 作者:闻怡洋
摘要:在MFC中M$引入了文档-视结构的概念,文档相当于数据容器,视相当于查看数据的窗口或是和数据发生交互的窗口。(这一结构在MFC中的OLE,ODBC开发时又得到更多的拓展)因此一个完整的应用一般由四个类组成:CWinApp应用类,CFrameWnd窗口框架类,CDocument文档类,CView视类。(VC6中支持创建不带文档-视的应用) 在程序运行时CWinApp将创建一个CFrameWnd框架窗... 阅读全文

posted @ 2006-11-05 23:47 cy163 阅读(493) 评论(0) 推荐(0) 编辑

重庆大学光电工程学院 贾旭滨 对 “句柄” “指针” 有下面的描述(AfxGetMainWnd GetSafeHwnd() AfxGetAppName() AfxGetThread)
摘要:http://www1.ustc.edu.cn/personal/csli/vc_note/frame.htm 句 柄 出处: 方塘2003.9.22 整理,之所以前面引用了 贾旭滨 先生的这段描述,因为他写的是在精彩!=== 重庆大学光电工程学院 贾旭滨 对句柄有下面的描述: 句柄概念在WINDOWS编程中是一个很重要的概念,在许多地方都扮演着重要的角色。但由此而产生的句柄概... 阅读全文

posted @ 2006-11-05 23:25 cy163 阅读(6288) 评论(2) 推荐(0) 编辑

How to access UI controls from a user defined class (CFormView based SDI application)
摘要:Answers from codeproject (cy163cy163)GetActiveWindow() is thread-specific. You have no active windows in your worker thread.Why not add a CHhhhView* member to your MyClass class (pass it in in the co... 阅读全文

posted @ 2006-11-05 20:09 cy163 阅读(259) 评论(0) 推荐(0) 编辑

怎样在对话框中得到Document指针
摘要:饮水思源 - 精华区文章阅读 发信人: thebestone (Simple life), 信区: VC 标 题: 【合集】怎样在对话框中得到Document指针 发信站: 饮水思源 (2002年04月11日19:23:13 星期四), 站内信件 ... 阅读全文

posted @ 2006-11-05 00:30 cy163 阅读(997) 评论(0) 推荐(0) 编辑

You should not be calling AfxGetMainWnd in a worker thread
摘要:Author Problems Initializing in the MainFrame ... 阅读全文

posted @ 2006-11-04 22:37 cy163 阅读(1411) 评论(0) 推荐(0) 编辑

Creating your first MFC Doc/View application
摘要:Introduction Creating applications using the MFC document/view architecture can save time, can help you create more structured programs, and can also help alleviate a lot of tedious boilerplate coding... 阅读全文

posted @ 2006-11-04 06:00 cy163 阅读(990) 评论(0) 推荐(0) 编辑

VC中动态添加控件
摘要:动态控件是指在需要时由Create()创建的控件,这与预先在对话框中放置的控件是不同的。 一、创建动态控件: 为了对照,我们先来看一下静态控件的创建。 放置静态控件时必须先建立一个容器,一般是对话框,这时我们在对话框编辑窗口中,从工具窗口中拖出所需控件放在对话框中即可,再适当修改控件ID,设置控件属性,一个静态控件就创建好了,当对话框被显示时,其上的控件也会显示。 静态控件不需要调用Cr... 阅读全文

posted @ 2006-11-04 05:02 cy163 阅读(17220) 评论(5) 推荐(0) 编辑

VC的若干实用小技巧 (如何干净的删除一个类)
摘要:Visual C++6.0(5.0)开发工具功能非常强大,但是对于初学者来说,却有很多细节的问题需要注意。作者搜集整理了以下一些实用小技巧,希望对初学者有所帮助。 1:使用vc开发项目时,常会遇到这种情况: 即明明只改动了一个文件,却要把整个项目全部重新编译连接一次。刚刚连接好,一运行,又提示重新编译连接一次,非常讨厌。这是因为出现了未来文件的缘故。 解决方法: 找出对... 阅读全文

posted @ 2006-11-04 04:48 cy163 阅读(5575) 评论(2) 推荐(1) 编辑

进入MFC讲坛的前 (Window 程序详细分析)
摘要:MFC的WinMain  使用MFC编程的程序员刚开始都会提出这样一个问题:我的程序是从哪儿开始执行的?回答是:从WinMain()开始执行的。提出这样的问题是由于在他们所编写的MFC应用中看不到WinMain()函数。这个函数是隐藏在MFC框架中,MFC的设计者将它作得很通用(这主要得益于Window的消息驱动的编程机制,使得作一个通用的WinMain()很容易),因此在一般情况下,无需更改Wi... 阅读全文

posted @ 2006-11-04 03:51 cy163 阅读(854) 评论(0) 推荐(1) 编辑

多线程之线程的中止
摘要:原作者姓名 曲扬 正文【代码详见附件】1 安全中止线程 安全中止线程有以下两种方法:1.1 线程函数返回 直接使用return语句。1.2 调用AfxEndThread函数 函数定义如下: void AfxEndThread(UINT nExitCode); 参数nExitCode为线程的退出码。 注意:AfxEndThread必须在线程内部调用,如果在其它线程... 阅读全文

posted @ 2006-11-02 23:15 cy163 阅读(4073) 评论(0) 推荐(0) 编辑

有关多线程的一些技术问题
摘要:有关多线程的一些技术问题:1、 何时使用多线程?2、 线程如何同步?3、 线程之间如何通讯?4、 进程之间如何通讯?先来回答第一个问题,线程实际主要应用于四个主要领域,当然各个领域之间不是绝对孤立的,他们有可能是重叠的,但是每个程序应该都可以归于某个领域:1、 offloading time-consuming task。由辅助线程来执行耗时计算,而使GUI有更好的反应。我想这应该是我们... 阅读全文

posted @ 2006-11-02 23:11 cy163 阅读(1244) 评论(0) 推荐(0) 编辑

Multithreading using MFC in Plain English: Part I
摘要:Part I of this tutorial covers basic concept of multithreading. If you have never used multithreading in your application and wish to know how to use multithreading in your applications and why, Then ... 阅读全文

posted @ 2006-11-02 22:40 cy163 阅读(1383) 评论(0) 推荐(0) 编辑

beginners with the Multithreading programming
摘要:http://www.codeproject.com/threads/threads_and_mfc.asp Introduction This article is written to those who are beginners with the Multithreading programming and I have tried to illustrate some issues i... 阅读全文

posted @ 2006-11-02 22:34 cy163 阅读(1039) 评论(0) 推荐(0) 编辑

多线程编程基础知识
摘要:当前流行的Windows操作系统能同时运行几个程序(独立运行的程序又称之为进程),对于同一个程序,它又可以分成若干个独立的执行流,我们称之为线程,线程提供了多任务处理的能力。用进程和线程的观点来研究软件是当今普遍采用的方法,进程和线程的概念的出现,对提高软件的并行性有着重要的意义。现在的大型应用软件无一不是多线程多任务处理,单线程的软件是不可想象的。因此掌握多线程多任务设计方法对每个程序员都是必需... 阅读全文

posted @ 2006-11-02 06:57 cy163 阅读(52437) 评论(0) 推荐(5) 编辑

关于在VS2005环境下无法从源视图切换到设计视图的解决方案
摘要:今天在使用VS2005 Coding时,突然出现无法从源视图切换到设计视图的问题,这个急死人了,今天的任务可就完成不了啊。刚开始以为是源代码有语法错误,排查了非常久,没发现语法错误。这是怎么回事呢?试着重启vs2005,重新打开项目,问题依旧。没着了,是不是电脑病毒作怪呢!用最新的瑞星版本杀了半天,也没杀出一个病毒来。后来新建了一个"hello world"的最最简单的项目,还是如此。莫非是系统问... 阅读全文

posted @ 2006-11-02 06:50 cy163 阅读(378) 评论(0) 推荐(0) 编辑

EditBox control Update Problem (A CString type EditBox control in a loop cannot be updated immidiately)
摘要:Method Onein the "Add variables " panel, select control instead of value for the category. Then select CListCtrl for variable type.Let's assume that the variable for the CListCtrl is m_Progress. In th... 阅读全文

posted @ 2006-11-02 06:49 cy163 阅读(263) 评论(0) 推荐(0) 编辑

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
点击右上角即可分享
微信分享提示