- 博客(12)
- 收藏
- 关注
转载 [常见问题]文件点击右键出现WINDOWS INSTALLER”解决方案
<br /> 桌面上点右键时出现“正在准备安装”,正准备安装的是我电脑原装有的一个小软件,但这个软件我用了一年多都没问题的,到底什么原因呢?<br />原因一<br /> 某些程序采用Windows Installer安装方式,而该程序的Windows Installer配置信息又因为更新或卸载出现错误,因而导致在使用其他一些程序时,出现重新安装出现错误程序的窗口。<br /> 解决办法<br /> 使用微软公司出的Windows Installer CleanUp Utili
2010-06-05 20:23:00
9126
原创 [个人收藏]常用网址&论坛
<br />EPC论坛:<br />http://www.eeeuser.cn/<br />http://bbs.eeefan.com<br />http://bbs.deepin.org/<br /> <br /> <br />驱动下载:<br />驱动天空:http://www.drvsky.com/index.htm<br />
2010-06-05 16:54:00
2799
原创 [MFC]MFC的BUTTON控件响应鼠标按下和抬起
有效方法:BOOL CButtontestDlg::PreTranslateMessage(MSG* pMsg) { // TODO: Add your specialized code here and/or call the base class if (pMsg->message==WM_LBUTTONDOWN) { if (pMsg->hwnd == GetDlgItem(IDC_B
2010-05-26 19:36:00
12909
1
原创 [MFC]知识集萃
CPen pen; 这句话创建了一个C++对象,也叫类的实例。这里的pen,并不是你所说的GDI对象。而是一个C++对象。 GDI对象是操作系统的一种数据结构。它是与语言无关的。GDI对象指的是操作系统的某种资源,如PEN, BITMAP,REGION等等。要创建一个GDI对象,在SDK中用如下语句 HPEN hPen = CreatePen(PS_SOLID, 1,
2010-05-26 19:25:00
756
转载 [MFC]SetTimer()设置多个定时器
设置多个定时器 SetTimer()void CTest1Dlg::OnTimer(UINT nIDEvent) //响应事件列表写在OnTimer里面{// TODO: Add your message handler code here and/or call defaultswitch (nIDEvent) { case 1: ///处理ID为1的定
2010-05-24 18:09:00
5687
转载 [C++][参考]字符串格式化控制符
The format-control string contains format specifications that determine the output format for the arguments following the lpFmt parameter. Format specifications, discussed below, always begin with a p
2010-05-24 15:40:00
889
转载 [DirectX][DirectInput]Summarize:Using the Keyboard
Step 1: Creating the DirectInput Object // HINSTANCE g_hinst; // initialized earlierHRESULT hr; LPDIRECTINPUT8 g_lpDI; hr = DirectInput8Create(g_hinst, DIRECTINPUT_VERSION, IID_IDi
2010-05-24 13:30:00
681
转载 [MFC][DirectInput]MFC下DirectX DirectInput的实现(有部分删改)
一般来说DirectX技术总是应用在游戏上的,而在DirectX天生就能与Win32很好的结合。看看市面上的图书,凡是用到DirectX技术的大多是使用Win32编程的,因为DirectDraw或者DirectXGraphics需要自己控制屏幕上的每一个象素,MFC等类库显然不适合太多自定义的东西。而另一方面,对于DirectInput里的内容,因为并不需要控制窗体,仅仅需要发送
2010-05-24 11:18:00
1473
原创 [DirectX][DirectInput][JoyStick]DirectInput的JoyStick创建步骤整理
简介:DirectInput和其他DirectX组成部分一样,是通过硬件抽象层(HAL)和硬件仿真层(HEL)来实现,处理的输入设备一般包括鼠标、键盘、游戏控制杆、操作杆等。而且现在的DirectInput还能够支持力反馈设备。Step 1: Creating the DirectInput Objectcreate a single DirectInput object as o
2010-05-24 09:44:00
4135
原创 [MFC][函数使用]StringCchPrintf()(未解决)
Parameters pszDest [out] Pointer to a buffer that receives the formatted, null-terminated string created from pszFormat and its arguments. cchDest [in] Size of the destination buffer, in characters. T
2010-05-23 20:40:00
1344
原创 [MFC][基本函数]StringCchPrintf()使用相关
Parameters pszDest [out] Pointer to a buffer that receives the formatted, null-terminated string created from pszFormat and its arguments. cchDest [in] Size of the destination buffer, in characters. T
2010-05-23 20:38:00
3103
原创 [MFC][CEdit][基本函数]CEdit::GetLine与CEdit::LineIndex
GetLine:从编辑控件中检取一行文本。没有文本,返回拷贝的字节数。如果nIndex参数指定的行号大于编辑控件中的参数,返回0。nIndex指定要从控件中检取的行号,为0,指定第一行。 CEdit::GetLineint GetLine( int nIndex, LPTSTR lpszBuffer ) const;int GetLine( int nIndex, LPTSTR l
2010-05-23 10:45:00
4214
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人