Dim instance AsModelessForm
instance.HideCompactPanel()
Remarks
Because of a strange bug in handling ACTIVE, DEACTIVATE status of window, if we set Visible property of form or its child control, ModelessForm won't be able hanlde mouse event. Up to this time, I don't find a straight solution for that problem yet. So, I approach this problem by Location property. If we can not see a control, it looks like to be hidden.