creating stles for windows form controls
-
Hey people, I am writing a couple of windows forms in vs 2005 (vb). These forms have quite a few controls on them and the users are going to want an "options" panel where they can , for example , select the background color of a set of buttons (I am simplefying here - bare with me) that appear on the forms. If this was ASPnet then no problem i could just apply a CSS Style. Does anyone have any experiance (or code - says he smiling hopefully !) which can apply a dynamic "Style" to a range of windows forms controls (Phew!) I have heard of visual styles which take precreated XP Themes and apply them but this wont help in this case because I am developing this for people with windows pro 2000 and also I need it to be dynamic. thanks in advance Martin Kendrick Life is a bowl of cherries - go on have a byte
-
Hey people, I am writing a couple of windows forms in vs 2005 (vb). These forms have quite a few controls on them and the users are going to want an "options" panel where they can , for example , select the background color of a set of buttons (I am simplefying here - bare with me) that appear on the forms. If this was ASPnet then no problem i could just apply a CSS Style. Does anyone have any experiance (or code - says he smiling hopefully !) which can apply a dynamic "Style" to a range of windows forms controls (Phew!) I have heard of visual styles which take precreated XP Themes and apply them but this wont help in this case because I am developing this for people with windows pro 2000 and also I need it to be dynamic. thanks in advance Martin Kendrick Life is a bowl of cherries - go on have a byte
I thought there was an example of skinning an app here on CP. Basically, what you want to do is write code that sets colors and so on of all your controls, based on a config file.
Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
-
I thought there was an example of skinning an app here on CP. Basically, what you want to do is write code that sets colors and so on of all your controls, based on a config file.
Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
yup - in a nutshell- couldnt find the correct search criteria on CP though. do you where the app skinning example is?? thanks