Unicode Controls & Classes for VB6 - Version 4

ctlUniMDITabs.CloseWindow Event

Raised when someone clicks the "X" button of a tab

Syntax
Public Event CloseWindow (ByVal hWnd As Long)
Parameters
Parameter Description
ByVal hWnd As Long
Remarks
If [AutoClose] is False you have to close the MDI Child window manually sending for example a WM_CLOSE message with the PostMessage API function to that handle or you can cycle through active forms and close the one which contains the passed window handle