|
-
Jan 16th, 2010, 10:22 AM
#1
Thread Starter
New Member
-
Jan 16th, 2010, 11:15 AM
#2
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
Last edited by LaVolpe; Jan 16th, 2010 at 11:41 AM.
-
Jan 16th, 2010, 11:57 PM
#3
Thread Starter
New Member
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....
-
Jan 17th, 2010, 04:12 AM
#4
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
If my post was helpful to you, then express your gratitude using Rate this Post. 
And if your problem is SOLVED, then please Mark the Thread as RESOLVED (see it in action - video)
My system: AMD FX 6100, Gigabyte Motherboard, 8 GB Crossair Vengance, Cooler Master 450W Thunder PSU, 1.4 TB HDD, 18.5" TFT(Wide), Antec V1 Cabinet
Social Group: VBForums - Developers from India
Skills: PHP, MySQL, jQuery, VB.Net, Photoshop, CodeIgniter, Bootstrap,...
Tags for this Thread
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
|