I have written a VB6 picture viewer and I would really like to make it sknnable. I know there are different ways of doing this, Neocaption and others. I want to make the project skinnable the same way that RR is. I understand fully how RR skins work, I've written effective skins. I just don't really know where the skincommands come from within the code I guess. It looks to me like mostly the "commands" are set in case structure and pass the value of code to a variable. But, there is obviously a lot more to it than that. Maybe someone could point me in the right direction. I'm willing to read and learn on my own, but right now I don't even know where to look - I don't want to spend a bunch of time reading about skinning methods which turn out not to be the right way. I'm not looking for a spoon-feeding, just a friendly push startThanks. And if you like, you are all welcome to my Image viewer (its a post entitled Release of image viewer).
Take a look at Guinos Plugins, very easy to use to create your own skinnable apps with exactly the same skin structures as RR, I wrote a Picture Viewer which never got finished using it, was going to be released with MC3.0
A very simple way to skin using picture boxes is by using the paintpicture method.Originally Posted by J187
picture1 = loadpicture ("C:\...")
picture1.paintpicture picture2,0,0,picture1.width,picture1.height,0,0,pi cture2.width,picture.height
The zeros represent the left and top measurements, you can use the paintpicure method and just set the source top, left, width and height to paint it to the destination picture top, left, width, and height. All the code you need is what you see right now. No need for declare statements or variables. All very fast Good luck. PM me if you need additional help.
Mobile Impact
Highly innovative car computer multimedia/entertainment system software.
http://mobileimpact.biz.tm
Bookmarks