CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    May 1999
    Posts
    24

    Bring buttons to front

    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


  2. #2
    Join Date
    May 1999
    Posts
    667

    Re: Bring buttons to front

    Try adding a handler for WM_ERASEBACKROUND and draw your bitmap in this function. (Do not call the base class)

    HTH,
    Chris


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured