资源列表
MovieMouse
- 学习下VC++编写一个自定义鼠标光标样式的小实例,可改变鼠标指针的模样,改成指定的ANI格式的光标文件,而不是Windows默认的白色指针。请注意,如果打开程序后,你点击了设置动态光标按钮,一定要再点击下恢复,要不然的话,光标不会自动恢复到以前的样式,不过你可以通过Windows控制面板中的鼠标设置恢复默认样式。-Learning under VC++ to write a custom mouse cursor style small example, you can change the a
ClipMouse
- VC++限制鼠标的活动范围,将鼠标限制在一定的区域内移动,比如本程序中,就是把鼠标限制在仅和窗体大小一样的区域中,也就是鼠标不能移出窗体,在到达边缘的时候,鼠标不能再向外移动,当点击“释放鼠标”后,鼠标完全恢复正常状态。-VC++ to limit the scope of activities of the mouse, the mouse is limited to moving within a certain area, such as the program is limited to
paramexe
- VC++调用带参数的exe可执行程序,先把DataManage、ParamExe两文件夹中的源代码用VC6.0编译生成,DataManage内的是需要连接数据库的,ParamExe可连接DataManage,通过参数实现数据库的备份分离和停止服务,需要的可参考下代码,都可以正确编译的-VC++ calls with parameters exe executable program, first DataManage, ParamExe two folders with VC6.0 compil
cPPsnake
- C++写的控制台下的贪吃蛇,放上来和大家分享-Snake in C++ console under impress and share
CriticalSectionSynch
- Visual C++利用临界区同步线程的一个实例代码,测试前你可试着勾寻使用临界区”功能按钮,然后依次点击启动一个线程向编辑框写入字符A、启动一个线程向编辑框写入字符B,查看线程的运行变化,本例对于研究临界区同步线程问题,可起到很好的理解作用。-Visual C++ use thread synchronization in a critical region of code examples, you can try to hook before testing the use of a cr
SemaphoreSynch
- vVC++使用信号量同步线程的源码实例,通过源文件和对目标文件的复制,来演示利用信号量如何实现线程同步,这是同步线程方面又一个值得学习的技巧,在之前,我们可以使用互斥对象、临界区实现线程的同步问题-VC++ using semaphores to synchronize threads of source code examples, source files and copy the target file, and to demonstrate the use of semaphores h
ThreadSynch
- 一个值得一看的VC++多线程运行实例,窗体中一共7条进度条,代表7个线程,通过点击对应的控制按钮,实现各自线程的运行,从新建文件写入字符A到G,来看各个线程的运行状态,虽然每个线程只是完成了一些简单的功能,但确实是一个研究多线程的好范例,如果你是VC新手,那就更应该瞧一下哦。-A worth of VC++ multi-threaded running instance, form a total of 7 progress bar, representatives of seven threa
MutexSynch
- 利用互斥对象实现线程同步,当勾寻使用互斥进行同步”按钮时,可启动一个线程向编辑框写入字符A,然后再启动一个线程向边界框写入字符B,可以看到只被执行一个线程,线程同步问题请下载源码参阅。-Use mutex thread synchronization when using a mutex to synchronize hook search "button, you can start a thread writes to the edit box the characters A, and t
QQPCMgr
- 本VC源码由VS2008编写,仿QQ电脑管家漂亮界面,包括一些鼠标悬停的效果,用的是MFC + DirectUI技术实现。最近又优化了下代码,先看效果图。主要是优化了控件的组合,和贴图方式。代码还有很多小问题,有解决了BUG或好想法可以联系我 QQ:278162354-The VC source written by the VS2008, imitation QQ computer housekeeper beautiful interface, including some mouse-ov
GetEdit
- VC++设置其它程序中编辑框的文本,期间用到GetWindowText(str)获取文本,在窗口的设置信息一栏中,输入设置的文本内容,再点击“设置”按钮,即可看到效果。-VC++ program is used to set other text edit box during GetWindowText (str) get the text, set the information in the window of a bar, the text input settings, and the
WaitProcess
- 使用VC++如何调用一个外部程序并等待其运行结束呢?这个示例代码虽小,但可以告诉你答案。告诉你如何让程序进入等待状态。本演示程序将调用外部的计算器程序,当计算器已经执行的时候,程序会进入等待状态,待其运行结束后,才允许关闭窗口。-Using VC++ How to call an external program and wait for it to finish it? This sample code is small, but I can tell you the answer. Tell
EventSynch
- VC++利用事件对象实现线程同步的问题,示例代码实现两大功能:1、不使用事件同步启动两个线程向编辑框中写入不同字符;对于没有使用同步对象时,可能出现输出字符比使用同步对象时少的现象,这是因为线程同时对资源进行操作的结果。2、使用事件同步启动两个线程向编辑框中写入不同字符。-VC++ using the event object implements thread synchronization problems, sample code to achieve two major function