将formstyle设为fsmidform.子设成fsmidchild.
解决方案 »
- cxGrid显示问题 在线等 分不够再加
- 各位高手帮帮忙,关于ExpressQuantumGrid4.2的问题,急,在线等.
- Dll中封装非模态窗体的问题?
- Delphi有没有悾件数组的概念,象VB那样。若有,怎么用?若您第一个回答正确,奉送50分
- 这些东东怎么用?
- 两个数据库问题
- 请问,rxlib到哪里可以下载?
- Delphi用ClientDataSet自定义字段后写不了值
- 能否实现dbgrid中的某一范围内的数据统一显示为‘**’
- 很简单的问题,怎样添加类啊?
- ihihonline ihihonline ihihonline看看你的留言
- 请看看我的问题,挂了好几天了http://www.csdn.net/expert/topic/655/655262.xml?temp=.7131616
The SetParent function changes the parent window of the specified child window. HWND SetParent(
HWND hWndChild, // handle to window whose parent is changing
HWND hWndNewParent // handle to new parent window
);
VCL:
Sets the parent of the control.procedure SetParent(AParent: TWinControl); virtual;
DescriptionSetParent is the protected implementation of the Parent property. Override SetParent to execute additional code when the value of the Parent property changes.The AParent parameter specifies the new parent of the control.If the control already has a parent, SetParent removes the control from that parent's list of controls by calling the parent's RemoveControl method. If AParent is not nil, SetParent calls its InsertControl method to add the control to its list of controls.The TControl destructor calls SetParent(nil)to remove the control from its parent's control list before destroying the component.
self.Parent:=XXX;
Parent: IComponent