Results 1 to 2 of 2

Thread: Changing the windows backcolor at runtime

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    May 2001
    Location
    Québec, Canada
    Posts
    131

    Changing the windows backcolor at runtime

    Hello,
    how can I change the backcolor of my window at runtime? Actually, I created three scrollbar to change the backcolor in RGB. When the scrollbar change, it get it's value stored in a variable name red, green and blue. When the user click OK, my backcolor would change...
    Khavoerm Irithyl

  2. #2

    Thread Starter
    Addicted Member
    Join Date
    May 2001
    Location
    Québec, Canada
    Posts
    131
    I looked into MSDN, and SetWindowLong function can't be use to change the backcolor. It can be use to change Extended Styles, Styles, Window Proc, ID, Instance and User Data.
    Khavoerm Irithyl

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