CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: Setting the background of a application

  1. #1
    Join Date
    Feb 2006
    Posts
    71

    Setting the background of a application

    I've seen in most programs the following use:
    wndclass.hbrBackground = (HBRUSH) GetStockObject (WHITE_BRUSH) ;
    My doubt is how can I set the background as a image that I created and build my application based in that image.

    I know that is possible once I've seen many programs with customized interface like WINAMP.

    I don't know if is the way. Hence I would like to know how this is made.

  2. #2
    Join Date
    May 2005
    Posts
    4,954

    Re: Setting the background of a application

    Quote Originally Posted by gabirata
    I know that is possible once I've seen many programs with customized interface like WINAMP.
    Yup that is skining, you can look at this article to get the idea.

    Cheers
    If a post helped you dont forget to "Rate This Post"

    My Article: Capturing Windows Regardless of Their Z-Order

    Cheers

Posting Permissions

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


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)