Location:
Search - mfc w
Search list
Description: this S/w intended to either ShutDown,Logoff or restart the computer as given time or at some time.this S/W use concept of WIN32 Api s with MFC.The ShutdownTimer also used System Tray Interface to work
Platform: |
Size: 36510 |
Author: 如雙 |
Hits:
Description: Enclosed is MFC source code for a function which can be used to hook any imported function call which your application makes. Since most of the Win32 API is implemented using import functions in dlls, this means that you hook Win32 API calls. This is useful when for example you want to be called for every call to the file system (::CreateFile() & CloseHandle()) which your app makes. This example of hooking the file system calls your app makes could form the basis of code to ensure you do not have any handle leaks in your application. You could also use this code to spy on COM port activity in remote processes by injecting the DLL into the remote process. -MFC source code for a function w hich can be used to hook any imported function ca ll which makes your application. Since most of t he Win32 API is implemented using import functi ons in dlls. this means that you hook Win32 API calls. This is for example useful when you want to be called for every call to the file system (: : CreateFile ()
Platform: |
Size: 6252 |
Author: l |
Hits:
Description: 使用CMemDC类解决应用程序的闪烁问题
在你的MFC程序中解决闪烁问题是个烦心的工作。你可以在书上或者网上找到关于这方面的介绍,但是介绍的技术一般都是很复杂的或者是很难应用到已经存在的程序中去。
一个京城使用的技术叫做双缓冲。双缓冲使用一个新的缓冲来画屏幕,然后把整个的屏幕显示在真正的屏幕上。
这篇文章使用了叫做CMemDC的类,这个类封装了绝大部分写入off-screen缓冲区的方法。在已经存在的MFC或者是ActiveX控件中加入CMemDC类是非常方便的。
怎样在你的MFC程序中使用CMemDC
1.在你的工程中加入memdc.h文件。
2.在stdafx.h中加入代码#include \"memdc.h\"
3.为窗口做WM_ERASEBKGND的消息映射
4.象下面那样改变处理消息的代码:-use CMemDC category of applications to solve the problem flashing in your MFC process is resolved Flicker 000 bother work. You can book online or find this regard, But introducing the technology in general are very complex or difficult to apply to already existing programs. Beijing used a technique called double buffering. Double buffer using a new buffer to paint a screen, then the screen shows that the whole of the real on the screen. This article called CMemDC use of the category, this category included the majority of package off-screen buffer method. The existence of MFC or ActiveX add CMemDC category is very convenient. What in your MFC procedures used CMemDC one. In your works into memdc.h document. 2. In addition stdafx.h code # include "memdc.h" 3. For window W M_ERASEBK
Platform: |
Size: 2448 |
Author: 罗成 |
Hits:
Description: MFC Black Book
Introduction:
Are you an MFC programmer? Good. There are two types of MFC programmers. What kind are you? The first kind are the good programmers who write programs that conform to the way MFC wants you to do things. The second bunch are wild-eyed anarchists who insist on getting things done their way. Me, I’m in the second group. If you are in the same boat (or would like to be) this book is for you.
This book won’t teach you MFC—not in the traditional sense. You should pick it up with a good understanding of basic MFC programming and a desire to do things differently. This isn’t a Scribble tutorial (although I will review some fundamentals in the first chapter). You will learn how to wring every drop from your MFC programs. You’ll discover how to use, abuse, and abandon the document/view architecture. If you’ve ever wanted custom archives, you’ll find that, too.-MFC Black Book Introduction : Are you an MFC programmer Good. There are two typ es of MFC programmers. What kind are you The firs t kind are the good programmers who write progra ms that conform to the way MFC wants you to do thin gs. The second bunch are wild-eyed anarchists w ho insist on getting things done their way. Me, I'm in the second group. If you are in the same boa t (or would like to be), this book is for you. This b ook will not teach you MFC-not in the traditional s 810005. You should pick it up with a good understan ding of basic MFC programming and a desire to do t hings differently. This is not a tutor Scribble ial (although I will review some fundamentals i n the first chapter). You will learn how to wring every drop from your MFC programs. You'll disco ver how to
Platform: |
Size: 1706696 |
Author: Mr .Wang |
Hits:
Description: │ Array.cpp
│ Array.ds w
│ Array.h
│ Array.rc
│ ArrayDlg.cpp
│ ArrayDlg.h
│ ReadMe.txt
│ Resource.h
│ StdAfx.cpp
│ StdAfx.h
│
└─res
Array.ico
Array.rc2
MFC的数组类支持的数组类似于C++中的常规数组,可以存放任何数据类型。C++的常规数组在使用前必须将其定义成能够容纳所有可能需要的元素,而MFC数组类创建的对象可以根据需要动态地增大或减小,数组的起始下标是0,而上限可以是固定的,也可以随着元素的增加而增加,数组在内存中的地址仍然是连续分配的。
MFC定义了数组模板类CArray,并针对各种常用变量类型定义了CByteArray,CWordArray,CUIntArray,CDWordArray,CStringArray,CObArray,CPtrArray。
MFC数组类使用方法基本相同。--- Array.cpp Array.dsp -- -- Array .dsw . h -- Array.rc ArrayDlg.cpp -- -- Read ArrayDlg.h Me.txt -- Resource.h StdAfx.cpp -- -- supply-StdAfx.h res Array.ico Array.rc2 MFC array is an array type of support similar to the regular C Regulation array can store any data type. Conventional C prior to the use of the array must be defined as possible to accommodate all the needs of the elements, MFC array type and the object can be created based on the need to dynamically increase or decrease the threshold array index is 0, and the ceiling is fixed, as can the elements increases, the array of memory addresses are still continuous distribution. MFC defines a template array CArray category, and a variety of commonly used types of variables defined CByteArray, CWordArray. CUIntArray,
Platform: |
Size: 11601 |
Author: 青衣 |
Hits:
Description: 目前在网上有一个CPictureEx类,用于加载GIF动画,不过该类是mfc封装类,对于不使用mfc的c++程序员来讲,不能使用。为了让该类能够让更多的人方便的使用,使其不再被局限于MFC,本人花时间改造了一下这个类,改造后,该类可以应用于任何MFC、 WTL/ATL及其它WINDOWS API编程。
由于原来的CPictureEx是继承于CStatic类,本人改造后,在CPictureEx中直接封装了一个窗口句柄HWND。
假设您在一个弹出式Dialog对话框中加载gif动画,您要做的就是在对话框中放一个控件,可以是BUTTON、STATIC等等。假设您加的这个控件的ID是IDC_FLASH,您的对话框窗口句柄是hDlg,则要使用CPictureEx,将非常简单。详情参见源代码。-present on the Internet which is a CPictureEx category for loading GIF animation, But such is mfc Packaging category for the non-use of the c mfc speaking programmers, which can not be used. To allow such to allow more people to use, it will not be confined to the MFC. I spend time on this transformation of the type that after transformation, and these can be applied to any MFC. WTL / ATL and other Windows API programming. As the original CPictureEx inherited from CStatic category, I transform, In CPictureEx directly Packaging a window handle HWND. Suppose you in a pop-up dialog box loaded Dialog gif animation You need to be done is up in a dialog box controls can be BUTTON, STATIC, and so on. Suppose you added in the control ID is IDC_FLASH, your dialog window handle is hDlg, CPictureEx w
Platform: |
Size: 365419 |
Author: 王易 |
Hits:
Description: 用MFC编写的实现定时关机的小程序,使用方便,面向初级编程人员。
Platform: |
Size: 48013 |
Author: 褚洪君 |
Hits:
Description: w MFc画图
Platform: |
Size: 556498 |
Author: hyyylyf |
Hits:
Description: Now in MS Visual C++ click on "File" then "New...", make sure you are
on your "Projects" tab. You should now see an entry labeled as
"NeHe OpenGL Wizard" in the list of projects. Click on the one you
would like to create, give it a project name and away ya go!-Now in MS Visual C click on "File" then "New. .. " make sure you are on your "Projects" tab. You sho uld now see an entry labeled as "binding for the Java language OpenGL Wiza rd "in the list of projects. Click on the one you w ould like to create, give it a project name and away ya go!
Platform: |
Size: 594944 |
Author: 王少楠 |
Hits:
Description: MFC Black Book
Introduction:
Are you an MFC programmer? Good. There are two types of MFC programmers. What kind are you? The first kind are the good programmers who write programs that conform to the way MFC wants you to do things. The second bunch are wild-eyed anarchists who insist on getting things done their way. Me, I’m in the second group. If you are in the same boat (or would like to be) this book is for you.
This book won’t teach you MFC—not in the traditional sense. You should pick it up with a good understanding of basic MFC programming and a desire to do things differently. This isn’t a Scribble tutorial (although I will review some fundamentals in the first chapter). You will learn how to wring every drop from your MFC programs. You’ll discover how to use, abuse, and abandon the document/view architecture. If you’ve ever wanted custom archives, you’ll find that, too.-MFC Black Book Introduction : Are you an MFC programmer Good. There are two typ es of MFC programmers. What kind are you The firs t kind are the good programmers who write progra ms that conform to the way MFC wants you to do thin gs. The second bunch are wild-eyed anarchists w ho insist on getting things done their way. Me, I'm in the second group. If you are in the same boa t (or would like to be), this book is for you. This b ook will not teach you MFC-not in the traditional s 810005. You should pick it up with a good understan ding of basic MFC programming and a desire to do t hings differently. This is not a tutor Scribble ial (although I will review some fundamentals i n the first chapter). You will learn how to wring every drop from your MFC programs. You'll disco ver how to
Platform: |
Size: 1705984 |
Author: Mr .Wang |
Hits:
Description: │ Array.cpp
│ Array.ds w
│ Array.h
│ Array.rc
│ ArrayDlg.cpp
│ ArrayDlg.h
│ ReadMe.txt
│ Resource.h
│ StdAfx.cpp
│ StdAfx.h
│
└─res
Array.ico
Array.rc2
MFC的数组类支持的数组类似于C++中的常规数组,可以存放任何数据类型。C++的常规数组在使用前必须将其定义成能够容纳所有可能需要的元素,而MFC数组类创建的对象可以根据需要动态地增大或减小,数组的起始下标是0,而上限可以是固定的,也可以随着元素的增加而增加,数组在内存中的地址仍然是连续分配的。
MFC定义了数组模板类CArray,并针对各种常用变量类型定义了CByteArray,CWordArray,CUIntArray,CDWordArray,CStringArray,CObArray,CPtrArray。
MFC数组类使用方法基本相同。--- Array.cpp Array.dsp---- Array .dsw . h-- Array.rc ArrayDlg.cpp---- Read ArrayDlg.h Me.txt-- Resource.h StdAfx.cpp---- supply-StdAfx.h res Array.ico Array.rc2 MFC array is an array type of support similar to the regular C Regulation array can store any data type. Conventional C prior to the use of the array must be defined as possible to accommodate all the needs of the elements, MFC array type and the object can be created based on the need to dynamically increase or decrease the threshold array index is 0, and the ceiling is fixed, as can the elements increases, the array of memory addresses are still continuous distribution. MFC defines a template array CArray category, and a variety of commonly used types of variables defined CByteArray, CWordArray. CUIntArray,
Platform: |
Size: 11264 |
Author: 青衣 |
Hits:
Description: 目前在网上有一个CPictureEx类,用于加载GIF动画,不过该类是mfc封装类,对于不使用mfc的c++程序员来讲,不能使用。为了让该类能够让更多的人方便的使用,使其不再被局限于MFC,本人花时间改造了一下这个类,改造后,该类可以应用于任何MFC、 WTL/ATL及其它WINDOWS API编程。
由于原来的CPictureEx是继承于CStatic类,本人改造后,在CPictureEx中直接封装了一个窗口句柄HWND。
假设您在一个弹出式Dialog对话框中加载gif动画,您要做的就是在对话框中放一个控件,可以是BUTTON、STATIC等等。假设您加的这个控件的ID是IDC_FLASH,您的对话框窗口句柄是hDlg,则要使用CPictureEx,将非常简单。详情参见源代码。-present on the Internet which is a CPictureEx category for loading GIF animation, But such is mfc Packaging category for the non-use of the c mfc speaking programmers, which can not be used. To allow such to allow more people to use, it will not be confined to the MFC. I spend time on this transformation of the type that after transformation, and these can be applied to any MFC. WTL/ATL and other Windows API programming. As the original CPictureEx inherited from CStatic category, I transform, In CPictureEx directly Packaging a window handle HWND. Suppose you in a pop-up dialog box loaded Dialog gif animation You need to be done is up in a dialog box controls can be BUTTON, STATIC, and so on. Suppose you added in the control ID is IDC_FLASH, your dialog window handle is hDlg, CPictureEx w
Platform: |
Size: 365568 |
Author: 王易 |
Hits:
Description: First of all, there are lots of custom tree controls available so what s the need for this? In one of my projects I happened to use several tree controls to show data objects at different levels and I had to deal with user actions. Each time, my tree control has to respond in different way depending on the selected item. Here I present what I have (I re-wrote some of my code to use this custom control and I believe that it is more readeble and easy to understand now) -First of all, there are lots of custom tree controls availabl e so what's the need for this In one of my projects I happened to use several tree controls to show da ta objects at different levels and I had to deal w praxiology user actions. Each time, my tree control has to respond in different way d epending on the selected item. Here I present wh at I have (I re-wrote some of my code to use this cu stom control and I believe that it is more readeb le and easy to understand now)
Platform: |
Size: 18432 |
Author: gaowen |
Hits:
Description: 基于MFC技术的搜索引擎的研究与实现,网上下的.-MFC-based search engine technology research and the realization of the Internet.
Platform: |
Size: 464896 |
Author: 李才 |
Hits:
Description: 大家知道wtl是window UI库,比起mfc小巧,速度快,这里是wtl说明文档和一些例子-wtl we all know is the window UI, compared mfc compact, fast, Here is wtl documentation, and some examples
Platform: |
Size: 1937408 |
Author: zgf |
Hits:
Description: its a useful code. Use this to hide MFC window. when your window code don t want to show other users.
-its a useful code. Use this to hide MFC windo w. when your window code do not want to show other u sers.
Platform: |
Size: 34816 |
Author: 郭迎祥 |
Hits:
Description: 用MFC编写的实现定时关机的小程序,使用方便,面向初级编程人员。-Prepared to use MFC to achieve the small timing shutdown procedures, easy to use, for junior programmers.
Platform: |
Size: 48128 |
Author: 褚洪君 |
Hits:
Description: 采用MFC实现简单WAV播放 界面为传统的WINDOWS界面 可选择播放方法 MCI SNDPLAYSOUND
-The use of MFC implementation interface for easy playback WAV traditional WINDOWS interface can choose to play MCI SNDPLAYSOUND Ways
Platform: |
Size: 53248 |
Author: 柯南 |
Hits:
Description: 播放器的制作,里面有文档,有源代码,是基于mfc的WMP控件-Player' s production, which has documentation, source code, is based on the WMP control mfc
Platform: |
Size: 4461568 |
Author: wangyan |
Hits:
Description: 扫描内存和读写内存实例,VC 2010编译,MFC框架-Scan memory and read-write memory instance, VC 2010 compiler, MFC framework
Platform: |
Size: 54272 |
Author: yoke1990 |
Hits: