当前位置:首页 » 软件开发
开发技术指南» 文章正文
    引言: VCL Control Messages (values):p
 

 

    摘要:   用过photoshop的朋友一定对它的那些方便的浮动面板记忆犹新,其实这些面板就是一个个的小窗体,但这些小窗体都放在photoshop的主窗体上(不是存在主窗体中),有自己的标题栏、最小化按钮及最大化按钮。但它们与mdi程序不同的是,他们可以拖到主窗体外,更重要的是工作中所有这些面板窗体与主窗体最处于激活状态。  用spy & capture查看一下就不难发现,这些面板窗体的......
    摘要: 你有女朋友,或是有暗恋的人吗?如果你有的话,那么不好意思,你应该承认她是有缺点的。因为毕竟人无完人嘛。可是因为你爱她,所以也就能够接受或忍耐她的缺陷,你不会因为她有缺点就看不起她,不会因为她脸上有小豆豆就厌恶她。进而甚至爱屋及乌,反而觉得她的刁蛮、任性也是如此的可爱,她对你的打骂竟也是如此的甜蜜……同样,你也不敢否认你不是完美的,而她也不会因为你有一双汗脚、曾经无意识的当......


VCL Component Messages
vcl control messages (values):     parameters:              comments:

cm_base 【程序编程相关:ASC II 完整码表及简介

  【推荐阅读:序列化FastReport

  【扩展信息:利用Delphi和金山词霸制作批量单词翻

  ($b000)

cm_activate                                 no params                   used when app is actived or a

  (cm_base + 0)                                                                 custom form is modally shown 

 

cm_deactivate                             no params                    counter part to cm_activate 

  (cm_base + 1)

 

cm_gotfocus                              no params                    not used 

  (cm_base + 2)

 

cm_lostfocus                             no params                   not used 

  (cm_base + 3)

 

cm_cancelmode                          tcmcancelmode          used to stop special behaviour of

  (cm_base + 4)                                                                controls like tdblookup 

 

cm_dialogkey                             tcmdialogkey             used in the keypreview chain of a

  (cm_base + 5)                                                                form to determin whether a child

                                                                                         control processes special keys like

                                                                                         tab, arrow keys etc.

 

cm_dialogchar                          tcmdialogchar             same as cm_dialogkey but for

  (cm_base + 6)                                                                characters 

 

cm_focuschanged                     tcmfocuschanged      used in forms when the active

  (cm_base + 7)                                                                control changes 

 

cm_parentfontchanged           if wparam = 1 then lparam

  (cm_base + 8)                             contains a tfont else just

                                                       use the font of the parent

                                                       used in all controls 

 

cm_parentcolorchanged        if wparam = 1 then

  (cm_base + 9)                              lparam contains a color

                                                       else just use the color of

                                                       the parent used in all

                                                       controls 

 

cm_hittest                                   tcmhittest                  used only at design time (and only  

  (cm_base + 10)                                                               in controlatpos) to determine the

                                                                                          control at the current mouse

                                                                                          message.result = 0 if control

                                                                                          considers itself as not hit else 1 

 

cm_visiblechanged                   wparam = 1 if visible,     used when a controls visibility is

  (cm_base + 11)                           lparam contains             changed by its visible property 


...   下一页
 ·看一小会儿com所做笔记    »显示摘要«
    摘要: 因为要做一个activex的东东,想想最后一次做activex的东东都是两年前的事,下午把《delphi5开发人员指南》又翻出来看一下com/ativex章节,记录了前面一部分的,后面以实例为主,就不记了。继续看dotnet老。com、ole、activex到底有什么区别?com是一组api和二进制标准,是其它相关技术的基石。ole仅仅是指与对象链接和嵌入有关的技术,比如容器、服务器、就地编辑、......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE