WM_PARENTNOTIFY的作用(不完全)
2016-03-24 17:44
495 查看
VCL里源码如下:
procedure TWinControl.WMParentNotify(var Message: TWMParentNotify); begin with Message do if (Event <> WM_CREATE) and (Event <> WM_DESTROY) or not DoControlMsg(Message.ChildWnd, Message) then inherited; end; function DoControlMsg(ControlHandle: HWnd; var Message): Boolean; var Control: TWinControl; begin DoControlMsg := False; Control := FindControl(ControlHandle); if Control <> nil then with TMessage(Message) do begin Result := Control.Perform(Msg + CN_BASE, WParam, LParam); DoControlMsg := True; end; end;
相关文章推荐
- POJ训练计划2777_Count Color(线段树/成段更新/区间染色)
- 《2015年中国邮件营销行业数据报告》
- SQL写法规范(创建,更新等)
- Litepal创建表时报错 an exception that indicates there was an error with sql parsing or execution
- 【Android】webview javascript 注入方法
- MySQL存储引擎--简介入门
- ZOJ 3846 GCD Reduce(数学)
- C++学习笔记2——对象数组与对象指针
- 20160324.2
- 比较15个数的大小
- vb作业
- 2016.3.24(2)
- 比较15个数的大小1
- 通知模式实现两个textField传值及模态视图——iOS开发
- 3个数排序
- RMAN Restore backup of lower version database to a higher version
- java对象传递小解析
- 在CENTOS7/RHEL7修改网卡名称
- Opencv中ANN神经网络使用示例
- 随机数由小到大排序