Private Const GWL_EXSTYLE = (-20)
Private Const WS_EX_TRANSPARENT = &H20&
Private Declare Function SetWindowLong Lib "user32" Alias "SetWindowLongA" (ByVal hwnd As Long, ByVal nIndex As Long, ByVal dwNewLong As Long) As Long
Private Declare Function GetWindowLong Lib "user32" Alias "GetWindowLongA" (ByVal hwnd As Long, ByVal nIndex As Long) As Long
Private Sub Form_Load()
Image1.Top = RichTextBox1.Top
Image1.Left = RichTextBox1.Left
Image1.Width = RichTextBox1.Width
Image1.Height = RichTextBox1.Height
SetWindowLong RichTextBox1.hwnd, GWL_EXSTYLE, GetWindowLong(RichTextBox1.hwnd, GWL_EXSTYLE) Or WS_EX_TRANSPARENT
End Sub