码迷,mamicode.com
首页 >  
搜索关键字:静态编辑框 static text    ( 96685个结果
vc 在edit控件中动态插入数据滚动显示
内存从网上论坛摘抄整理思路:给控件设置多行属性,设置垂直滚动条,Auto Vscroll设置为true,放入文本后把插入点设置到末尾pEdit->LineScroll(pEdit->GetLineCount()); 滚动条滚动到最下端int len = pEdit->GetWindowTextLen...
分类:其他好文   时间:2014-05-01 13:27:49    阅读次数:267
从指定的路径中查找含有特殊字符串的文件
import java.io.*;import java.util.*;import java.util.concurrent.*;public class SearchFile{ public static void main(String ... strings) { final int FI....
分类:其他好文   时间:2014-05-01 13:18:50    阅读次数:253
c#将list集合转换为datatable的简单办法
public static class ExtensionMethods{/// /// 将List转换成DataTable/// /// /// /// public static DataTable ToDataTable(this IList data){PropertyDescriptorC...
分类:其他好文   时间:2014-05-01 13:03:47    阅读次数:355
groovy 简单的弹出菜单popupmenu程序
import groovy.swing.* import javax.swing.* import java.awt.* def swing = new SwingBuilder()swing.frame(title:"hello",show:true){ panel() { def mm=swi....
分类:其他好文   时间:2014-05-01 00:20:13    阅读次数:342
C#截取字符串
public class SubStrHelper { /// /// 截取字符串长度,中文二字节 /// /// /// 字节长度 /// public static strin...
分类:其他好文   时间:2014-04-30 23:51:33    阅读次数:441
如何终结服务器进程
windows下面可以主线程while loop接受input;但是觉得很丑。 linux没办法这样,可以用注册信号的办法。实现起来也不难: #include "stdio.h" #include "unistd.h" #include "signal.h" #include "error.h" volatile bool isStop = false; static void handl...
分类:其他好文   时间:2014-04-29 13:42:21    阅读次数:418
网页上中下三分布局,上下固定,中间自适应
* { margin:0; padding:0; } html, body, #box { height:100%; font:small/1.5 "宋体", serif; } body { text-align:center; } #box { text-align:left; background:#666; display:table; wi...
分类:Web程序   时间:2014-04-29 13:36:20    阅读次数:469
STL源码分析一:组态
#include using namespace std; template class testClass{ public: static int _data; }; int testClass::_data = 1; int testClass::_data = 2; int main() { cout ::_data << endl; cout ::_data << ...
分类:其他好文   时间:2014-04-29 13:21:20    阅读次数:410
java参数传递机制浅析
欢迎转载,转载请声明出处! ----------------------------------------- 前言: java语言中,参数的传递只有一种机制,那就是值传递。 举例: 下面将通过几个例子来说明java中的参数传递机制,这些例子基本涵盖了所有参数传递的情况。 1.基本数据类型: public static void testBase(int i)...
分类:编程语言   时间:2014-04-28 10:11:40    阅读次数:379
C#-访问轰炸机,新建进程,结束进程...(ConsoleApp)---ShinePans
program.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; namespace Tst { class Program { static void Main(string[] arg...
分类:移动开发   时间:2014-04-27 21:35:59    阅读次数:467
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!