CompuServe Messages

#Windows Calla

    14-Oct-91 10:34:47
Sb: #Windows Calla
Fm: Chester L. Kloss 72311,743
To: all
This is an Elementary question from a new Visual Basic User. I have written a tiny VB program that consists of three Horz. Scroll bars that correspond to red,green and blue. As you might expect, when you move the little box on the bar, the color of the form changes. I know its not much but to be able to control the form so easily is really neat. The next step is to have this program control the color of the windows desktop backgroud. I believe the windows call goes something like this: SetSysColors(nChanges,lpSysColor,lpColorValues) I believe lpSysColor would refer to the COLOR_BACKGROUND index in my case. My limited knowledge suggests that I need to declare this windows call somehow in the General section but I'm basically stuck there. Any suggestions ? Thanks, Chet There are 2 Replies.