Click to See Complete Forum and Search --> : Is it possible to limit a WM command?


Anish Mistry
August 18th, 1999, 02:28 PM
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/
amistry@am-productions.8m.com

Martin Speiser
August 18th, 1999, 03:55 PM
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