01 2015 档案
Windows7 Application Data拒绝访问打开方法?
摘要:在Windows7操作系统,打开 Application Data等文件夹时,弹出位置不可用的警告窗口,提示拒绝访问。下面提供简单的解决方法,希望有用。Windows7操作系统。方法1在电脑磁盘任意位置建立一个记事本,复制下面代码(CTRL+C),粘贴(CTRL+V)到记事本保存。Windows... 阅读全文
posted @ 2015-01-29 11:37 friend_joey 阅读(463) 评论(0) 推荐(0)
CRichEdit控件操作相关< 转载>
摘要:一般性问题1. 代码编译通过了,运行后RichEdit控件不显示,在InitInstance中添加BOOL CWinApp::InitInstance (){…AfxInitRichEdit(); - RichEdit 1.0或 AfxInitRichEdit2(); - RichEdit 2.0…... 阅读全文
posted @ 2015-01-29 10:06 friend_joey 阅读(2382) 评论(0) 推荐(0)
CEdit 详细用法
摘要:CEdit CEdit类提供了Windows编辑控件中的功能。编辑控件是一个子窗口矩形,用户可以向其中输入文本。 可以通过对话模板或直接从代码中创建一个编辑控件。在两种情形下,首先调用CEdit构造程序构造CEdit对象,再调用Create成员函数创建Windows编辑控件并将其与CEdit对象连... 阅读全文
posted @ 2015-01-29 09:49 friend_joey 阅读(15199) 评论(0) 推荐(1)
CString TCHAR的互相转换
摘要:CString->TCHAR*的转化可以用函数GetBuff()函数原型为:LPTSTR GetBuffer( int nMinBufLength );CString str("CString");TCHAR* szMsg = new TCHAR[100];//其参数为CString字符串的长度sz... 阅读全文
posted @ 2015-01-28 21:50 friend_joey 阅读(1384) 评论(0) 推荐(0)
win7 64位 调用notepad,但是不能调用键盘osk.exe
摘要:STARTUPINFO si={sizeof(si)}; PROCESS_INFORMATION pi={0}; TCHAR szApp[MAX_PATH] ={_T("notepad.exe")}; CreateProcess(NULL,szApp,NULL,NULL,FALSE,0,NULL,... 阅读全文
posted @ 2015-01-28 21:49 friend_joey 阅读(447) 评论(0) 推荐(0)
win7 64位系统 调用键盘的超强方法!
摘要:PVOID oldValue = NULL; Wow64DisableWow64FsRedirection(&oldValue); ShellExecute(NULL, _T("open"), _T("osk.exe"), NULL, NULL, SW_SHOWNORMAL); Wow64Reve... 阅读全文
posted @ 2015-01-28 21:46 friend_joey 阅读(208) 评论(0) 推荐(0)
CFont::CreateFont
摘要:CFont::CreateFont初始化指定特性的一CFont对象。BOOL CreateFont( int nHeight, int nWidth, int nEscapement, int nOrientation, int nWeight, BYTE bItalic, ... 阅读全文
posted @ 2015-01-20 14:13 friend_joey 阅读(801) 评论(0) 推荐(0)
CreateFont
摘要:typedef struct tagLOGFONT {LONG lfHeight;LONG lfWidth;LONG lfEscapement;LONG lfOrientation;LONG lfWeight;BYTE lfItalic;BYTE lfUnderline;BYTE lfStrikeO... 阅读全文
posted @ 2015-01-20 14:08 friend_joey 阅读(1346) 评论(0) 推荐(0)