Form Background Subclassing
Visual Basic
1
Posts
1
Posters
0
Views
1
Watching
-
i'm using the cTextBoxBackground class from vbAccelerator http://www.vbaccelerator.com/home/VB/Code/Libraries/Subclassing/Tile\_a\_Bitmap\_Into\_a\_TextBox/article.asp and trying to adapt it to change the background of a form (which i don't own), and it almost works. If you remove the lines which refer to the hWnd of the parent window and use the class "as is" to subclass a form it works except the labels are not drawn onto the DC, nor are shapes and lines etc. these controls don't seems to get painted onto the DC when you send the WM_PRINT message. does anyone know of a way around this. Thank you mdb