摘要: Downloading from an HTTP Server using WinInet使用WinInet从HTTP服务器下载信息Thu, 2004-02-26 11:45 — rogerThe WinInet functions allow an application to interactwith Gopher, FTP and HTTP servers. This article shows how to use the WinInetAPI to download from an HTTP server.WinInet允许应用程序和Gopher,FTP, HTTP服务器进行交互。这 阅读全文
posted @ 2011-04-16 22:43 OYJJ 阅读(1349) 评论(0) 推荐(0) 编辑
摘要: 对话框有一个单行的Edit控件,一回车对话框就退出了,怎么办?重载OnOK当焦点在对话框上是才退出,否则执行指定的处理步骤void XXXDlg::OnOK(){ if(GetDlgItem(IDOK)==GetFocus()) { CDialog::OnOK(); } //handle enter key} 另外,这里给出了三种可能的解决方法:http://www.codeguru.com/forum/showthread.php?t=231075 阅读全文
posted @ 2011-04-16 21:27 OYJJ 阅读(3520) 评论(0) 推荐(0) 编辑