 |
|
 |
Goran Level: Moderator
 Registered: 16-05-2002 Posts: 1681
|
Re: API to set colors on Access 2000 app
As it is said, it SETS OR READS THE CURRENT USER DESKTOP COLOR SETTINGS, where cuurent user means current windows user, not user of your application. To change appearance of your application windows only, you would need to suclass a form. This way you tell OS that you will draw a form by yourself, and then you can change form shape, its color, buttons 0 client and non-client areas.... IF you dont know anything about subclassing, then maybe it is the best to search for some code on the net, so you can implement it in your application. There are some rules about subclassing which must be followed in order your app and OS to be safely running (or else you will receive GPF's). There are also many examples on this site and many subclassing tutorials on the net, which can give you basic idea how subclassing works.
____________________________
If you find the answer helpful, please mark this topic as solved.
|
|
25-10-2004 at 04:54 PM |
|
|
|
|
 |
 |