C#
test
탑~!
2012. 2. 28. 01:53
아래와 같이 하시면 특정 MDIChild를 항상top으로 유지하면서 다른 MDIChild를 선택해서 작업하실 수 있습니다.
Public Declare Function SetParent Lib "user32" Alias "SetParent" (ByVal hWndChild As Integer, ByVal hWndNewParent As Integer) As Integer
With IamOnTop
.MdiParent = Me
.Show()
SetParent(IamOnTop.Handle, Me.Handle)
End With
728x90
반응형