CComModule为COM对象提供了基本的宿主支持,把windows中两种类型的宿主(EXE 和 DLL)之间的差别封装了起来。BEGIN_OBJECT_MAP(ObjectMap) OBJECT_ENTRY(CLSID_Math, CMath)END_OBJECT_MAP()CComModul....
分类:
其他好文 时间:
2014-06-19 00:57:54
阅读次数:
510
题目描述:输入n个整数,找出其中最小的K个数。例如输入4,5,1,6,2,7,3,8这8个数字,则最小的4个数字是1,2,3,4,。输入:每个测试案例包括2行:第一行为2个整数n,k(1 m-1){ end = index -1; index = pati...
分类:
其他好文 时间:
2014-06-18 23:03:51
阅读次数:
244
local function onTouchBegan(x, y) 层单击事件end local function onTouchMoved(x, y) end local function onTouchEnded(x, y) print("哈哈哈") endlocal function...
分类:
其他好文 时间:
2014-06-18 22:00:39
阅读次数:
235
--滚动条 labar local function valueChanged(strEventName,pSender) if nil == pSender then return end ...
分类:
其他好文 时间:
2014-06-18 22:00:01
阅读次数:
332
表备份:select*intoBfromAEXISTS:指定一个子查询,测试行是否存在。返回TRUE,FLASE.case when:case when ry=jyry then 1 else 0 end Case具有两种格式。简单Case函数和Case搜索函数。--简单Case函数CASE se....
分类:
数据库 时间:
2014-06-18 15:56:13
阅读次数:
223
1 import java.awt.*; 2 import java.awt.event.*; 3 import javax.swing.*; 4 import javax.swing.event.*; 5 public class moveText{ 6 Label myText; 7...
分类:
移动开发 时间:
2014-06-16 23:46:22
阅读次数:
302
本文主要介绍一个轻量级的文件监控方式,对文件的Create & Change & Delete,都有一个对应的Event方法来进行处理。对于核心的File Monitor Class,我们继承一个监听适配器类FileAlterationListenerAdaptor,这样会更文件,不用再去重写每个Event方法。...
分类:
编程语言 时间:
2014-06-16 21:23:44
阅读次数:
285
最代码网站中关于动态表event的设计思路 http://www.zuidaima.com/share/1862322916871168.htm...
分类:
Web程序 时间:
2014-06-16 14:23:42
阅读次数:
235
(续上篇)模拟鼠标事件var btn=document.getElementById("myBtn");//创建事件对象var event=document.createEvent("MouseEvents");//初始化事件对象event.initMouseEvent("click",true,t...
分类:
编程语言 时间:
2014-06-15 12:54:12
阅读次数:
311
在C++中在C++中for循环可以使用类似java的简化的for循环,可以用于遍历数组,容器,string以及由begin和end函数定义的序列(即有Iterator)
#include
#include
#include
using namespace std;
int main()
{
map ms;
ms.insert(make_pair("a", 1));
ms....
分类:
编程语言 时间:
2014-06-15 10:46:30
阅读次数:
241