上一页 1 ··· 23 24 25 26 27 28 29 30 31 ··· 49 下一页
摘要: Delphi QQ表情的实现QQ表情描述蓝框提示信息鼠标在这个表情上面 这个表情才动可以增加表情表情打包单击这个表情插入表情 关闭本窗体 主要使用Webbrowsr来实现的--------------------------------------------------------------------------------//调用过程unit Unit1;interfaceusesWinapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,Vcl.Cont 阅读全文
posted @ 2013-06-22 12:39 XE2011 阅读(624) 评论(0) 推荐(0)
摘要: Delphi WebBrowser控件的使用 WebBrowser控件属性:1、Application 如果该对象有效,则返回掌管WebBrowser控件的应用程序实现的自动化对象(IDispatch)。如果在宿主对象中自动化对象无效,程序将返回WebBrowser控件的自动化对象2、Parent 阅读全文
posted @ 2013-06-19 20:15 XE2011 阅读(3987) 评论(4) 推荐(1)
摘要: 在一个 LISTBOX 中显示所见所得字体 这个方法设置Combobox同样有效ComboboxFont具有不同字体的列表框unit Unit1;interfaceusesWindows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,Dialogs, StdCtrls, ComCtrls, ExtCtrls;ty... 阅读全文
posted @ 2013-06-19 20:13 XE2011 阅读(241) 评论(0) 推荐(0)
摘要: Comments关键点实现过程 //thisisaText /*thisisaText*/ /* thisisaText thisisaText thisisaText thisisaText */ 图备注在程序变得更复杂之前,我们应该明白C... 阅读全文
posted @ 2013-04-30 11:51 XE2011 阅读(146) 评论(0) 推荐(0)
摘要: Standard Input and Output Objects关键点std::cerrstd::cinstd::coutstd::clog 实现过程 #include<iostream> intmain() { std::cout<<"Entertwonumbers:"<<std::endl; intv1,v2; ... 阅读全文
posted @ 2013-04-30 11:50 XE2011 阅读(139) 评论(0) 推荐(0)
摘要: do-while do{ 语句; }while( 布尔类型的表达示 ); 注: do - while循环 是 先执行一次循环体,再来判断条件是否成立 do-while 说明: 1 代码... 阅读全文
posted @ 2013-04-28 15:32 XE2011 阅读(175) 评论(0) 推荐(0)
摘要: Code::替换掉指定字符串 CString::Replace() voidCXxDlg::OnButton1() { CStrings="hello.cpp"; s.Replace(".cpp",""); MessageBox(s); } 效果图: ... 阅读全文
posted @ 2013-04-28 12:28 XE2011 阅读(199) 评论(0) 推荐(0)
摘要: .实现过程. #include"stdafx.h" #include<windows.h> #include<iostream> #include<string> usingnamespacestd; stringUnicode2Ascii(wstringwstrsrc); w... 阅读全文
posted @ 2013-04-28 12:28 XE2011 阅读(387) 评论(0) 推荐(0)
摘要: .在C++中显示多行字符串关键点.实现过程. CStringstr1="ABCD\r\n""HIKHJJH" "1234\r\n" "XYZ\n" "HELLO"; MessageBox(str1); ..图.备注.这里没有使用链接符号相关链接相关链接相关链接 .来自为知笔记(Wiz)Time=2012-11-27 14:14:... 阅读全文
posted @ 2013-04-28 12:28 XE2011 阅读(204) 评论(0) 推荐(0)
摘要: 删除非空文件夹实现过程 voidRemoveDir(CStringszPath) { CFileFindff; if(szPath.Right(1)!="\\")//目录的最右边需要“\”字符 szPath+="\\"; szPath+="*.*"; BOOLres... 阅读全文
posted @ 2013-02-23 18:57 XE2011 阅读(153) 评论(0) 推荐(0)
摘要: ShellExecutePerformsanoperationonaspecifiedfile.HINSTANCEShellExecute(HWNDhwnd,LPCTSTRlpVerb,LPCTSTRlpFile,LPCTSTRlpParameters,LPCTSTRlpDirectory,INTnShowCmd); ID lpVerb ... 阅读全文
posted @ 2013-02-23 18:56 XE2011 阅读(373) 评论(0) 推荐(0)
摘要: 获取系统的相关文件夹SHGetSpecialFolderPathRetrievesthepathofaspecialfolder,identifiedbyitsCSIDL.BOOLSHGetSpecialFolderPath(HWNDhwndOwner,LPTSTRlpszPath,intnFolder,BOOLfCreate);#define CSIDL_WINDOWS 36#define CS... 阅读全文
posted @ 2013-02-23 18:56 XE2011 阅读(288) 评论(0) 推荐(0)
摘要: Win32 Dyanmic-Link Library的调用LoadLibrary关键点LoadLibraryTheLoadLibraryfunctionmapsthespecifiedexecutablemoduleintotheaddressspaceofthecallingprocess.Foradditionalloadoptions,usetheLoadLibraryExfunction.... 阅读全文
posted @ 2013-02-23 18:53 XE2011 阅读(465) 评论(0) 推荐(0)
摘要: Win32 Dyanmic-Link Library 创建关键点Win32 Dyanmic-Link Library的创建1.创建1个 Win32 Dyanmic-Link Library ,Project name:project01 2.选中 An empty DLL project.3.Ctrl+N 新建一个 C++ Source File ,File:project01实现过程 ... 阅读全文
posted @ 2013-02-23 18:53 XE2011 阅读(155) 评论(0) 推荐(0)
摘要: Win32 Dyanmic-Link Library 调用关键点Win32 Dyanmic-Link Library的调用1.新建1个 MFC AppWizard(exe)项目,Project name:MFC012.选中Dialog Base对话框类型的程序。3.删除多余的控件,添加1个按钮,编译一下。4.将project01 Debug里面的project01.dll复制到MFC01的Debu... 阅读全文
posted @ 2013-02-23 18:53 XE2011 阅读(173) 评论(0) 推荐(0)
上一页 1 ··· 23 24 25 26 27 28 29 30 31 ··· 49 下一页