R
Rene Mansveld
Hi all,
I'm desperately trying to figure out how to retrieve the handle of the
MDIForm's client area.
I need this for the .NET version of our free MDI TaskBar control.
The control needs to get to the MDIForm's client area handle in order to
receive windows messages on the creation and destruction of MDIChild forms.
I wrote a subclassing class according to MS's knowledge base article
#311317, and I want to use code like the following:
Private MDI As SubclassMDI = New SubclassMDI()
Protected Overrides Sub OnHandleCreated(ByVal e As System.EventArgs)
MyBase.OnHandleCreated(e)
MDI.AssignHandle(Me.Parent.Handle) ' <-- here I need something like
"Me.Parent.ClientArea.Handle"
End Sub
Protected Overrides Sub OnHandleDestroyed(ByVal e As System.EventArgs)
MDI.ReleaseHandle()
End Sub
--
Any help gladly appreciated ...
Rene Mansveld
Spider IT - Germany (was Whitworth Software Solutions)
www.Spider-IT.de / www.Spider-IT.net / www.Spider-IT.org / www.Spider-IT.biz
Please reply to the newsgroup(s) )
I'm desperately trying to figure out how to retrieve the handle of the
MDIForm's client area.
I need this for the .NET version of our free MDI TaskBar control.
The control needs to get to the MDIForm's client area handle in order to
receive windows messages on the creation and destruction of MDIChild forms.
I wrote a subclassing class according to MS's knowledge base article
#311317, and I want to use code like the following:
Private MDI As SubclassMDI = New SubclassMDI()
Protected Overrides Sub OnHandleCreated(ByVal e As System.EventArgs)
MyBase.OnHandleCreated(e)
MDI.AssignHandle(Me.Parent.Handle) ' <-- here I need something like
"Me.Parent.ClientArea.Handle"
End Sub
Protected Overrides Sub OnHandleDestroyed(ByVal e As System.EventArgs)
MDI.ReleaseHandle()
End Sub
--
Any help gladly appreciated ...
Rene Mansveld
Spider IT - Germany (was Whitworth Software Solutions)
www.Spider-IT.de / www.Spider-IT.net / www.Spider-IT.org / www.Spider-IT.biz
Please reply to the newsgroup(s) )