Click to See Complete Forum and Search --> : Bring buttons to front


parragain
August 20th, 1999, 04:17 PM
Dear MFC Programmers,

In my main window, I have a kind of wallpaper (identical BMP pictures). The window comprises buttons
and a list box. Nevetheless, after compiling my application, the buttons and the list box are not visible anymore. I would like also to "bring them to front" above my wallpaper.

Could you help me with this ? thanks

Philippe

ChrisD
August 20th, 1999, 04:23 PM
Try adding a handler for WM_ERASEBACKROUND and draw your bitmap in this function. (Do not call the base class)

HTH,
Chris