码迷,mamicode.com
首页 >  
搜索关键字:hander message    ( 9457个结果
线程中调用Updatedata的问题
随便发个自定义消息,然后在 CMyDialog的自定义消息处理函数中 UpdateDate()。因为 UpdateDate用到了线程本地存储。不能跨线程的UpdateData只能在主线程中使用,将UpdateData放到你的WM_MY_MESSAGE消息处理函数里面就可以了.工作线程不能更新主线程的...
分类:编程语言   时间:2014-06-28 23:57:34    阅读次数:308
SQL学习分享(二)
1、插入数据insert into table(id,name) values("","") ---插入数据到table表中如:INSERT INTO sms.Communication ( RefType,RefId,Type,Message,CreateUserId,CreateDate ) v...
分类:数据库   时间:2014-06-28 18:36:01    阅读次数:239
Remove “System Program Problem Detected” Messages From Ubuntu
One of my Ubuntu systems would pop up the following message multiple times after logging in:System program problem detectedDo you want to report the p...
分类:其他好文   时间:2014-06-24 10:18:19    阅读次数:360
asp.net中Page.ClientScript.RegisterStartupScript用法小结(转)
//ASP.NET后台页面跳转Page.ClientScript.RegisterStartupScript(Page.GetType(), "", "");//后台弹出确定框ClientScript.RegisterStartupScript(GetType(), "message", "");/...
分类:Web程序   时间:2014-06-24 09:22:40    阅读次数:6310
JavaScript高级程序设计60.pdf
错误处理try-catch语句try{ //可能会导致错误的代码}catch(error){ //在错误发生时如何处理}error是一个包含着错误信息的对象,它有一个message属性,保存着错误消息;还有一个保存着错误类型的name属性(Opera9之前不支持这个属性)try{ //可能会导...
分类:编程语言   时间:2014-06-21 17:42:19    阅读次数:180
MSMQ(消息队列)
前段时间研究WCF接触到了MSMQ,所以认真的学习了一下,下面是我的笔记。我理解的MSMQMSMQ可以被看成一个数据储存装置,就如同数据库,只不过数据存储的是一条一条的记录,而MSMQ存储的是一个一个的消息(messsge)。Message可以被理解为一种数据容器,我们在稍后会讲到。MSMQ一个重要...
分类:其他好文   时间:2014-06-21 17:15:58    阅读次数:238
日志打点的简单实现
/// /// 日志打点接口。 /// public interface ITopLogger { void Error(string message); void Warn(string message); void Info...
分类:其他好文   时间:2014-06-21 17:01:07    阅读次数:1530
RabbitMQ in Action (1): Understanding messaging
1. Consumers and producers Producers create messages and publish (send) them to a broker server (RabbitMQ). A message has two parts: a payload and a l...
分类:其他好文   时间:2014-06-21 14:33:14    阅读次数:431
PatentTips - Improving security in a virtual machine host
BACKGROUNDComputer viruses are a common problem for computer users. One typical mode of attack is to send an electronic mail message (e-mail) containi...
分类:其他好文   时间:2014-06-21 00:51:41    阅读次数:285
[Android]Message,MessageQueue,Looper,Handler详解+实例
转http://www.eoeandroid.com/forum-viewthread-tid-49595-highlight-looper.html一、几个关键概念1、MessageQueue:是一种数据结构,见名知义,就是一个消息队列,存放消息的地方。每一个线程最多只可以拥有一个MessageQ...
分类:移动开发   时间:2014-06-21 00:43:20    阅读次数:226
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!