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

Thread: Windows color

  1. #1
    Join Date
    Aug 1999
    Location
    Romania, Bucharest
    Posts
    253

    Windows color

    hi there

    i have a problem detecting the change of windows scheme
    is there a WM send to all windows when the user chenge scheme from desktop properties

    thank you in advance for your help

  2. #2
    Join Date
    Aug 2002
    Location
    Madrid
    Posts
    4,588
    I'm not exactly sure that this works, but you can try trapping WM_SETTINGCHANGE.

    In windows XP there is a WM_THEMECHANGED notification when the theme has changed.

    WM_DISPLAYCHANGE is sent when the display resolution is changed.

    The one you are looking for might actually be WM_SYSCOLORCHANGE, it tells you that one of the system default colors has changed.

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