by Andrew Sachen (1 Submission)
Category: Graphics
Difficulty: Beginner
Date Added: Wed 3rd February 2021
Rating:
(4 Votes)

RTBacgkround demonstrates how to make a Rich Text Box have a transparent background, allowing a background image to be placed below it in order to give the appearance of a background image.
Inputs
File name of an image
Side Effects
The scroll bar does not redraw, though it will reappear if you hover over it with your mouse.
API DeclarationsPrivate Declare Function SetWindowLongA Lib "user32" (ByVal hWnd As Long, ByVal nIndex As Long, ByVal dwNewLong As Long) As Long
Download RTBackground (38 KB)