Seeing as API calls require object handles to be passed as arguments, VB makes this easy by exposing the hWnd property for most controls(windows). There is no hWnd property in VBA however.

I have been able to use the FindWindow API call to obtain a pointer to my VBA UserForms:
------------------------------------------------
Private Declare Function FindWindow Lib "user32" Alias "FindWindowA" (ByVal lpClassName As String, ByVal lpWindowName As String) As Long

lngHwnd = FindWindow(vbNullString, Me.Caption)
------------------------------------------------
I cannot get this to work for any other controls besides the UserForm. Is there a way to obtain VBA control handles?