关于超想
本站导航
邮件列表
  首页 | 本站产品 | Delphi资料 | 免费资源 | 程序人生 | 软件工程 | 网站设计 | 推荐网站
你所在的位置 -> 主页 -> 超想软件 -> 编程资料 -> Vb -> 桌面或窗体 ->详细
相关内容  
 
 
在Delphi程序中应用IE浏览器控件
 
【新品推荐】

  详细内容
 

建立无模式窗口
作者: 评价: 上站日期: 2001-09-03
内容说明:
来源:


'make a new project; two forms
'on form1 a command button
'put the code in the right places
'press F5

Sub Form2_load()
'in the form2_load event
'be sure to make the form2 smaller then form1!
lngOrigParenthWnd = SetWindowWord(Me.hwnd, -8, mdiMain.hwnd)

End Sub

Private Sub Form_Unload(Cancel As Integer)
'in the form2_unload event
Dim lngResult&

lngResult = SetWindowWord(Me.hwnd, -8, lngOrigParenthWnd)

End Sub

'in the form2_general section
Private Declare Function SetWindowWord Lib "user32" (ByVal hwnd&, ByVal nIndex&, ByVal wNewWord&) As Long
Private lngOrigParenthWnd&

Sub Command1_click
form2.Show

End Sub 

 
你所在的位置 -> 主页 -> 超想软件 -> 编程资料 -> Vb -> 桌面或窗体 ->详细
  首页 | 本站产品 | Delphi资料 | 免费资源 | 程序人生 | 软件工程 | 网站设计 | 推荐网站
声明:本站内容除注明原创以外均从网上摘抄,如有侵权请指明。
  如果您对我们的网站有什么意见或者建议,请与我们联系
powered by 建站易上手- V2.0