![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
NOTES of Microsoft Windows
seamanjiang
这个作者很懒,什么都没留下…
展开
-
Windows XP操作系统自动关机的实现
Windows XP操作系统自动关机的实现 -----Amoon 2005/10/01 WinXP本身具备定时关机的功能,WinXP的关机是Shutdown.exe程序来控制的,该程序位于Windows\System32文件夹中,利用Shutdown.exe可以完成以下的任务:1.你要求12:00自动关机,可以这样操作: 点击“原创 2005-10-02 11:59:00 · 823 阅读 · 0 评论 -
TCHAR * CHAR * and CString
////////////////////////////// /* *********************************************************************** * 函数: TransCStringToTCHAR * 描述:将CString 转换为 TCHAR* * 日期:2003-05-30 King **********************原创 2006-01-25 13:38:00 · 1570 阅读 · 0 评论 -
One instance of MFC Programme
让程序只运行一个实例的方法有数种,但原理都是相同的,就是在程序的主窗口创建之前,检查系统中是否已经存在某个与本程序相关的特定标志了。如果存在,则说明已经有一个实例在运行了,当前程序不用创建主窗口,直接退出即可。否则,就说明本程序是第一次运行。各种方法所不同的是,各自检查的标志不同,这也使得各种方法在使用时各有利弊了。一般来说,使程序只运行一个实例的最简单的方法当然是使用FindWindow()查找原创 2005-11-12 23:35:00 · 925 阅读 · 0 评论 -
HOWTO: WinCE Catch Unhandled Exception
__try { OpenEmnProcess(); } __except(EXCEPTION_EXECUTE_HANDLER) { __try { OpenEmnProcess(); } __except(EXC原创 2005-11-09 23:13:00 · 1134 阅读 · 0 评论 -
HOWTO: CString to int
int num = _ttoi((LPCTSTR)data);原创 2005-11-10 18:39:00 · 888 阅读 · 0 评论 -
Convert From CString 2 LPCSTR LPTSTR
// 変数定義 LPTSTR s_t; LPCTSTR s_ct; CString str; CString sResult; const i_ct = 5; int i = 10; const int *p_ct = &i_ct; int *p = &i;//メンッド 1.CString -> LPTSTR //初期化する s_t="NULL"; s_ct="NUL原创 2005-11-04 09:48:00 · 2639 阅读 · 0 评论 -
programme baesd CDialog to be hidden when starting
作者: Solomon (lsong@kali.com.cn) 日期: 2001/12/29相关文章: http://www.csdn.net/develop/article/11/11634.shtm 要使一个基于 CDialog 的应用程序一开始便被隐藏的方法有好多种。大多数方法在相关文章(http://www.csdn.net/develop/article/11/11634.shtm)中原创 2005-11-01 10:58:00 · 988 阅读 · 0 评论 -
Notification Bubble with Text Input Control.(MFC)
hi all, i have wrote a notification bubble with text input control for user to input there email.(MFC) Code:#define IDS_DEFAULTHTMLMESSAGE _T(" pls input your email "); pndAdd = (SHNOTIFICATIONDA原创 2005-10-16 15:53:00 · 1793 阅读 · 0 评论 -
about CString of EVC(just like Win98)
EVC在某种意义上说,相当于VC的一个子集。因为大多EVC有的功能,VC也具备,而VC有的功能,EVC则不一定拥有。在VC中,操作字符串很方便,因为WINDOWS的字处理能力实在是很强大,它支持多种字符集。我们随便使用一个CString str=“你好”,就要以输入我们想要的中文字符串。在EVC中这种情况有所改变,因为WINCE的字处理能力不够强大,它在处理汉字里统一将它示为UNICODE编码,所原创 2005-10-12 18:16:00 · 913 阅读 · 0 评论 -
Programming With Microsoft Visual Studio C++.NET 6th Edition 读书笔记(1) Chapter 5: Windows Message Mapping
Chapter 5: Windows Message MappingCRect, CPoint, and CSize ArithmeticThe CRect, CPoint, and CSize classes are derived from the Windows RECT, POINT, and SIZE structures, and thus they inherit publi原创 2006-06-29 06:59:00 · 1261 阅读 · 0 评论