For Help!
Thanx a lots!
Thanx a lots!
解决方案 »
- 似乎没什么不可以买...(给零分是为了不想结贴时麻烦!)
- 怎么样获取ie地址栏的url啊(急)
- 我没分了,但我急需帮助,希望好心人帮我解决.
- “贺岁华东行”--与技术总监和Borland产品专家面对面2004元旦期间课程简介
- 如何让datetostr(self.DateTimePicker1.Date)的值的格式是'yyyy-MM-dd'的?
- 如何开发一个 IE 的右键扩展菜单,菜单上多一项“获取标题和链接”
- delphi6比5多了一个objece treeview,是有什么用的,在代码编写器旁边多了一个dragram,是什么功能
- 【求助】程序字符串替换问题
- 如何把syscolor 转换无符号整数啊
- 请教随机函数的用法
- 一个特别奇怪的问题:大家一定要看看!
- 各位大侠,一个ESAY的问题,请赐教!!!!不胜感激!!!
frmOwned.Show ,frmOwner
NOT TopMost !!!
·The system automatically destroys an owned window when its owner is destroyed.
·An owned window is hidden when its owner is minimized. Only an overlapped or pop-up window can be an owner window; a child window cannot be an owner window. An application creates an owned window by specifying the owner's window handle as the hwndParent parameter of CreateWindowEx when it creates a window with the WS_OVERLAPPED or WS_POPUP style. The hwndParent parameter must identify an overlapped or pop-up window. If hwndParent identifies a child window, the system assigns ownership to the top-level parent window of the child window. After creating an owned window, an application cannot transfer ownership of the window to another window. Dialog boxes and message boxes are owned windows by default. An application specifies the owner window when calling a function that creates a dialog box or message box. An application can use the GetWindow function with the GW_OWNER flag to retrieve a handle to a window's owner.
like:form1.showmodal;
By the way, I have to say:"This is a Delphi BBS, if you want to ask VB progblems, you should go to the VB BBS to ask. Of course, it's nothing serious you ask it in Delpi BBS.
Do you like English very much?
·An owned window is always above its owner in the Z order.
·The system automatically destroys an owned window when its owner is destroyed.
·An owned window is hidden when its owner is minimized. 这时还是可以在 owned window & owner window 来回切换焦点的,不是要使用 ShowModal 显示模态。我试了很久,在网上也暂时找不到有关的资料。在 Delphi 中 Create 一个新窗口时若提供一个 Owner 参数,好像只是表明这个窗口会在适当的时候被 Owner 自动释放。此 Owner 非彼 Owner 啊!我重载 CreateParams 过程,在其中赋值 cp.WndParent 为 Owner 也不行。我只是用 VB 作为一个参照……由谁知道啊?我已经找了几天了……没想到一个简单的问题我要费这么多周折……