How to create an ocx to skin form
:):):wave::):)
It is good if our application have a different skin other than the O.S's default skin.Do you know how to implement this. Please help.....
The skin must be.....
Movable by titlebar(don't forget titlebar shuld be skinned.)
and resizable at run time.
If you have answer at brain. Just copy to this forum.
Re: How to create an ocx to skin form
A quality skinning project is a huge undertaking, and that is probably understated.
When you take control over drawing a window, including titlebar, borders, menus you are now faced with subclassing and drawing into the non-client area of the form. You have to literraly intercept any message that would tell VB to repaint the window.
Controls are similar. To skin a control requires knowledge of each control you want to skin and again, subclassing. Some controls get their "appearance" colors/messages from the control's container while others get it directly from the control.
What I just described would be a professional approach. There are others that have tried using borderless forms with, ugh labels, for borders and the titlebar. Like any coding, there are various levels of quality.
Recommend searching the this forum and other sites like PlanetSourceCode where you will find many examples of varying qualities. I once was interested in the idea too many years ago and created a project just to see how difficult it would be -- extremely. Here is that project and I'm sure is not exactly what you are looking for, but may be a starting point for you
http://www.planet-source-code.com/Up...1627278164.jpg
Re: How to create an ocx to skin form
:)Thank you for your interest in my problem.
I am on learning your project.
I have used vbskinner. But i hate it. Because not only need license but it's control box(min,max,close buttons) is too small.
I am on the development of an ocx control to use instead of vbskinner. I hope it can be posted in this forum soon. But i don't know how to skin message boxes.
By....
Re: How to create an ocx to skin form
There is a commercial component for skinning... Just see this link: http://www.codejock.com/downloads/sa...nframework.asp