What does this doo --> Me.TableLayoutPanel1.Handle)
It disnae doo owt! It's a property giving the handle of the control's window. You use it instead of going through the API to find an hWnd value before using it in API functions & subs.