会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Testudo
每天要进步一点点。
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
23
24
25
26
27
28
29
30
31
···
49
下一页
2013年6月29日
转换 TColor 到 HTML 颜色串
摘要: //转换 TColor 到 HTML 颜色串 function ColorToHtml(color:TColor):string; var RgbColor : TColorRef; begin RgbColor := ColorToRGB(color); Result:=Format('#%.2x
阅读全文
posted @ 2013-06-29 12:28 XE2011
阅读(280)
评论(0)
推荐(0)
2013年6月22日
Delphi QQ表情的实现
摘要: 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
阅读(625)
评论(0)
推荐(0)
2013年6月19日
Delphi TWebBrowser
摘要: Delphi WebBrowser控件的使用 WebBrowser控件属性:1、Application 如果该对象有效,则返回掌管WebBrowser控件的应用程序实现的自动化对象(IDispatch)。如果在宿主对象中自动化对象无效,程序将返回WebBrowser控件的自动化对象2、Parent
阅读全文
posted @ 2013-06-19 20:15 XE2011
阅读(4007)
评论(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
阅读(242)
评论(0)
推荐(0)
2013年4月30日
Comments
摘要: Comments关键点实现过程 //thisisaText /*thisisaText*/ /* thisisaText thisisaText thisisaText thisisaText */ 图备注在程序变得更复杂之前,我们应该明白C...
阅读全文
posted @ 2013-04-30 11:51 XE2011
阅读(146)
评论(0)
推荐(0)
Input Output
摘要: 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)
2013年4月28日
do-while
摘要: do-while do{ 语句; }while( 布尔类型的表达示 ); 注: do - while循环 是 先执行一次循环体,再来判断条件是否成立 do-while 说明: 1 代码...
阅读全文
posted @ 2013-04-28 15:32 XE2011
阅读(176)
评论(0)
推荐(0)
替换字符串
摘要: Code::替换掉指定字符串 CString::Replace() voidCXxDlg::OnButton1() { CStrings="hello.cpp"; s.Replace(".cpp",""); MessageBox(s); } 效果图: ...
阅读全文
posted @ 2013-04-28 12:28 XE2011
阅读(200)
评论(0)
推荐(0)
多字节、Unicode和UTF8字符串的互换
摘要: .实现过程. #include"stdafx.h" #include<windows.h> #include<iostream> #include<string> usingnamespacestd; stringUnicode2Ascii(wstringwstrsrc); w...
阅读全文
posted @ 2013-04-28 12:28 XE2011
阅读(389)
评论(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)
2013年2月23日
RemoveDirectoryB
摘要: 删除非空文件夹实现过程 voidRemoveDir(CStringszPath) { CFileFindff; if(szPath.Right(1)!="\\")//目录的最右边需要“\”字符 szPath+="\\"; szPath+="*.*"; BOOLres...
阅读全文
posted @ 2013-02-23 18:57 XE2011
阅读(153)
评论(0)
推荐(0)
ShellExecute
摘要: ShellExecutePerformsanoperationonaspecifiedfile.HINSTANCEShellExecute(HWNDhwnd,LPCTSTRlpVerb,LPCTSTRlpFile,LPCTSTRlpParameters,LPCTSTRlpDirectory,INTnShowCmd); ID lpVerb ...
阅读全文
posted @ 2013-02-23 18:56 XE2011
阅读(376)
评论(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)
LoadLibrary
摘要: Win32 Dyanmic-Link Library的调用LoadLibrary关键点LoadLibraryTheLoadLibraryfunctionmapsthespecifiedexecutablemoduleintotheaddressspaceofthecallingprocess.Foradditionalloadoptions,usetheLoadLibraryExfunction....
阅读全文
posted @ 2013-02-23 18:53 XE2011
阅读(465)
评论(0)
推荐(0)
Win32 DLL的创建
摘要: 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
阅读(156)
评论(0)
推荐(0)
上一页
1
···
23
24
25
26
27
28
29
30
31
···
49
下一页
公告