http://blog.csdn.net/shaojie519/article/details/6595720http://blog.csdn.net/liuhe688/article/details/6532519http://tech.cncms.com/shouji/android/78565...
分类:
其他好文 时间:
2014-07-22 23:17:33
阅读次数:
305
先看效果:ListView的footer布局:
ListView的item和main_activity布局很简单,分别是一个TextView和ListView,不再贴出。MainActivity代码贴出:import
java.util.ArrayList;import java.ut...
分类:
移动开发 时间:
2014-07-22 23:17:33
阅读次数:
592
BOOL DrawFrameControl( HDC hDC, // 设备环境句柄 LPRECT
lpRect, // 矩形区域 UINT nType, // 控件类型 UINT nState // 控件状态);// 控件类型 uType
参数DFC_CAPTION = 1; // 标题DFC_ME...
分类:
其他好文 时间:
2014-07-22 23:17:13
阅读次数:
440
//控件名:myNewClock//作者:刘典武//时间:2011-06-10using
System;using System.Collections.Generic;using System.ComponentModel;using
System.Drawing;using System.Dat...
分类:
其他好文 时间:
2014-04-29 17:21:46
阅读次数:
538
文本输入框作为一个最基本的UI控件,被众多UI框架默认支持。Windows下最简单的就是CEdit(WTL封装),也有更为复杂的CRichEdit(WTL封装)。文本输入框是基本控件中最难实现的控件之一,估计这也是Chrome浏览器(For
Windows)一直使用原生文本输入框封装,而不是自行实现...
分类:
其他好文 时间:
2014-04-29 17:21:46
阅读次数:
492
1、在剪切板上放置数据if(OpenClipboard()) //打开剪切板{
EmptyClipboard(); //清空剪切板 CString str; //从控件中取出字符 HANDLE hclip;
//GlobalAlloc分配内存的句柄 char *buf; //返回的内存地址 GetD...
分类:
其他好文 时间:
2014-04-29 17:21:46
阅读次数:
316
在vs里新建一个winform程序"ReportViewTest",在form1中添加一个reportView控件,from1的load事件如下:
private void Form1_Load(object sender, EventArgs e) { Data...
分类:
其他好文 时间:
2014-04-29 17:16:47
阅读次数:
409
【转载】http://issf.blog.163.com/blog/static/1941290822009111894413472/最近用GDI+实现了几个自定义控件,但是发现存在内存泄露问题BOOL
CGdiplusBugDlg::OnEraseBkgnd(CDC* pDC){Image* pI...
分类:
其他好文 时间:
2014-04-29 17:16:46
阅读次数:
300
http://www.open-open.com/lib/view/open1330657336952.htmlhttp://my.eoe.cn/720315/archive/21472.htmlhttp://zhaohaiyang.blog.51cto.com/2056753/517044http...
分类:
其他好文 时间:
2014-04-29 17:16:45
阅读次数:
430