|
-
Aug 2nd, 2001, 07:17 AM
#1
Thread Starter
Randalf the Red
Who is stupid ??
Me, the Treeview control or the Windows API ?
I ran a brief search on changing the background colour of the Treeview control on the forum and got a small SendMessage API function call to do the job.
I pasted the declaration and the constants in my code and ran the application. The background colour did change, but it seems that there are just about 3 different colours it can take.
How do I set the backcolor of the TreeView control to be the one I have set for my textbox? Remember I set the colour of the TextBox control using the colour palette.
I tried changing the RGB function parameters, but all combinations seem to give me only two or three colours. Can someone please help me in setting the desired colour as the background colour of a TreeView control ?
.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|