JohnPhan 发表于 2008-2-27 12:14:47

pb定义用户事件的说明

Defining &nbsp; custom &nbsp; user &nbsp; events &nbsp; for &nbsp; standard &nbsp; controls &nbsp; is &nbsp; not &nbsp; recommended. &nbsp; To &nbsp; define &nbsp; custom &nbsp; user &nbsp; events &nbsp; for &nbsp; standard &nbsp; controls, &nbsp; you &nbsp; must &nbsp; have &nbsp; some &nbsp; Windows &nbsp; SDK &nbsp; experience &nbsp; and &nbsp; understand &nbsp; the &nbsp; following: &nbsp; <br/>&nbsp; &nbsp; <br/>&nbsp; All &nbsp; standard &nbsp; controls &nbsp; respond &nbsp; to &nbsp; standard &nbsp; events &nbsp; in &nbsp; the &nbsp; range &nbsp; 0 &nbsp; to &nbsp; 1023. &nbsp; Most &nbsp; controls &nbsp; also &nbsp; define &nbsp; their &nbsp; own &nbsp; range &nbsp; of &nbsp; custom &nbsp; events &nbsp; beyond &nbsp; 1023 &nbsp; (corresponding &nbsp; to &nbsp; wm_user &nbsp; messages). &nbsp; &nbsp; <br/>&nbsp; &nbsp; <br/>&nbsp; Some &nbsp; controls &nbsp; have &nbsp; custom &nbsp; events. &nbsp; You &nbsp; need &nbsp; to &nbsp; know &nbsp; which &nbsp; controls &nbsp; do, &nbsp; because &nbsp; these &nbsp; custom &nbsp; events &nbsp; overlap &nbsp; with &nbsp; the &nbsp; PowerBuilder &nbsp; custom &nbsp; events &nbsp; (pbm_customxx). &nbsp; &nbsp; <br/>&nbsp; &nbsp; <br/>&nbsp; The &nbsp; pbm_custom01 &nbsp; event &nbsp; ID &nbsp; maps &nbsp; to &nbsp; wm_user+0, &nbsp; pbm_custom02 &nbsp; maps &nbsp; to &nbsp; wm_user+1, &nbsp; and &nbsp; so &nbsp; on, &nbsp; through &nbsp; pbm_custom75, &nbsp; which &nbsp; maps &nbsp; to &nbsp; wm_user+74. &nbsp; <br/>&nbsp; &nbsp; <br/>&nbsp; You &nbsp; need &nbsp; to &nbsp; make &nbsp; sure &nbsp; that &nbsp; you &nbsp; use &nbsp; a &nbsp; pbm_custom &nbsp; event &nbsp; ID &nbsp; that &nbsp; does &nbsp; not &nbsp; conflict &nbsp; with &nbsp; a &nbsp; custom &nbsp; event &nbsp; defined &nbsp; by &nbsp; Windows &nbsp; for &nbsp; the &nbsp; standard &nbsp; control. &nbsp; Otherwise, &nbsp; you &nbsp; might &nbsp; encounter &nbsp; unexpected &nbsp; behavior &nbsp; in &nbsp; your &nbsp; application.

JohnPhan 发表于 2008-2-27 12:16:02

如果使用在pb中使用api或其它的dll,可能会涉及这些问题

ribut922 发表于 2008-3-3 08:38:38

学习
页: [1]
查看完整版本: pb定义用户事件的说明

免责声明:
本站所发布的一切破解补丁、注册机和注册信息及软件的解密分析文章仅限用于学习和研究目的;不得将上述内容用于商业或者非法用途,否则,一切后果请用户自负。本站信息来自网络,版权争议与本站无关。您必须在下载后的24个小时之内,从您的电脑中彻底删除上述内容。如果您喜欢该程序,请支持正版软件,购买注册,得到更好的正版服务。如有侵权请邮件与我们联系处理。

Mail To:Admin@SybaseBbs.com