Oxygen Basic
Programming => Example Code => Topic started by: Charles Pegge on January 25, 2019, 06:14:11 PM
-
Demonstrating how to decorate dialog boxes with a background image. This example is based on Roland's translucent.o2bas
The technique is to load an image to the dialog's client area in response to a WM_ERASEBKGND message
case WM_ERASEBKGND
RECT r
GetClientRect hDlg,r
GetImage( hDlg,r,"../images/mud.jpg" )
InvalidateRect( hDlg,@r,0 )
return 1
This example will be included in Examples/WinDynDialogs