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

    Is it possible to limit a WM command?

    Is it possible to limit a WM command. I want my program to call the WM_SYSCOLORCHANGE to change to color of the 3D faces in my application, but when i call the SetSysColors function it changes all the 3D faces on all the windows. Can I limit the function to only change the colors in my program not the others, and if so how? Any help would be appreciated. Thanks in advance.

    Anish Mistry
    http://am-productions.8m.com/
    [email protected]

  2. #2
    Join Date
    Apr 1999
    Location
    Germany
    Posts
    418

    Re: Is it possible to limit a WM command?

    Hi Anish,

    as the name of the function says, SetSysColors sets the colors of the whole system. All you can do is to store the colors in a global variables, global class or make it accessable inside your program on another way.


    Martin

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