Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: prasanna kunder
  Where is prasanna kunder?
 mumbai
 India
 prasanna kunder
 To: Yousfi Benameur
  Where is Yousfi Benameur?
 El Bayadh
 Algeria
 Yousfi Benameur
 Tags
Subject: RE: can we change background of TreeCtr12
Thread ID: 311041 Message ID: 311086 # Views: 34 # Ratings: 0
Version: Visual FoxPro 9 Category: Classes and Objects
Date: Tuesday, June 28, 2011 5:45:40 PM         
   


> > hello experts
> >
> > can we change background color of MSComm.TreeCtrl2
> >
> > thanks in advance
> > prasanna
> >
> > i goggled i got this one
> >
> >
> > DECLARE LONG SendMessage IN User32 LONG nhWnd, INTEGER Msg, LONG wParam, LONG LPARAM
> >
> > SendMessage(THISFORM.TreeView1.HWND, 4381, 0, RGB(255,255,192))
> >
> >
> > but how can do transferent
>
> the api you pointed set a backcolor of treeview but its a bad one because the oleObject is not rendered as well.its maybe better to render the forecolor.
> for answering you and in my knowledge, there is no way to do that (backcolor) in a top right way with the object MSComctlLib.TreeCtrl.2
>
> see this thread, there is many capabities of treeview (i believe its an exe).it set backcolor,forecolor,transparency,font...and a picture.
>
> https://www.foxite.com/archives/treeview-picturebackcolor-forecolor-0000232640.htm
>
> see also this
> https://www.foxite.com/archives/0000305626.htm
> here you can add a button for backcolor,forecolor,transparency...
>
> update: you can read these two articles on treeview here
> http://doughennig.blogspot.com/2008/11/setting-background-color-of-treeview.html
> http://doughennig.blogspot.com/2009/08/disabling-treeview-control.html
>
> Regards
> Yousfi Benameur


hello Yousfi
yes your first link, have transparency treeview, but that is executable file
i goggled, but i didn't govt any solution,

thanks and waiting for your response
prasanna

ENTIRE THREAD

can we change background of TreeCtr12 Posted by prasanna kunder @ 6/28/2011 12:55:27 PM
RE: can we change background of TreeCtr12 Posted by Borislav Borissov @ 6/28/2011 1:41:41 PM
RE: can we change background of TreeCtr12 Posted by prasanna kunder @ 6/28/2011 2:10:29 PM
RE: can we change background of TreeCtr12 Posted by Borislav Borissov @ 6/28/2011 3:16:07 PM
RE: can we change background of TreeCtr12 Posted by Yousfi Benameur @ 6/28/2011 3:19:44 PM
RE: can we change background of TreeCtr12 Posted by prasanna kunder @ 6/28/2011 5:45:40 PM
RE: can we change background of TreeCtr12 Posted by Yousfi Benameur @ 6/28/2011 7:44:37 PM