 |
Pro VB 6 For advanced Visual Basic coders working in version 6 (not .NET). Beginning-level questions will be redirected to other forums, including Beginning VB 6. |
Welcome to the p2p.wrox.com Forums.
You are currently viewing the Pro VB 6 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
|
|
|

December 2nd, 2003, 01:17 PM
|
Friend of Wrox
|
|
Join Date: Jun 2003
Posts: 2,189
Thanks: 5
Thanked 59 Times in 57 Posts
|
|
changing colors in standards controls
hi there...
im developing an app that's needs to be pretty (the users are graphics designers, imagine yourself)..
well, i have some problems with frames, grids, and sstab because i cannot change some of their colour to match the rest of the app..
did anyone see around there something to accomplish it??
i was looking for a couple of days, and the only thing i found is how to make hover buttoms (that works perfect) but not the rest..
also they want the menu bar to be in the middle of the screen, I try with a coolbar, because i can use a background with it, but then i have to put a toolbar on it and lost the background.. any work around???
thanks in advance..
Gonzalo Bianchi
__________________
HTH
Gonzalo
================================================== =========
Read this if you want to know how to get a correct reply for your question.
(Took that from Doug signature and he Took that from Peter profile)
================================================== =========
My programs achieved a new certification :
WORKS ON MY MACHINE
================================================== =========
I know that CVS was evil, and now i got the proof.
================================================== =========
|

December 2nd, 2003, 03:41 PM
|
Friend of Wrox
|
|
Join Date: Jun 2003
Posts: 627
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Dear Gonzalo,
VB is not the best tool to make a custom interface. The only way to change the view of standard controls is to subclass them and change their properties via API in the WM_PAINT event. This is why there is a whole pletora of third party components, and also why people spend 30% of their develepment time to design their own user controls.
The only third party component I still use is the ActiveBar (version 1) by DataDynamics because was cheap, light weight and doing a good job for a detachable tool bar controls. In the 2.0 version they added a lot of other components I do not need, and therefore I cannot speak of.
Marco
|

December 3rd, 2003, 09:15 AM
|
Friend of Wrox
|
|
Join Date: Jun 2003
Posts: 2,189
Thanks: 5
Thanked 59 Times in 57 Posts
|
|
well.. i know is hard to accomplish good look and feel.. but i manage to do some things with some api's and i found a nice button with hover capacity and flat...
but thanks for your answer...
and at least for the moment.. im not subclassing anything...
Gonzalo Bianchi
|

December 24th, 2003, 07:08 AM
|
Registered User
|
|
Join Date: Dec 2003
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Hi Gonzalo,
I also want to do the same thing as you. I want to paint my complete SSTab control with some color.
Did you get any clue, how to do that?
If so please let me know.
Thanks,
Minal
|

August 24th, 2005, 04:59 PM
|
Registered User
|
|
Join Date: Aug 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Technically the only way is to subclass it.
Tried it too and works, but can loose performance easily.
If you want a quick fix, just lay a label in the ssTab object and do this for every page.
After that change the label to the colour you want.
Basically the same effect and no performance loss.
|

August 24th, 2005, 05:02 PM
|
Registered User
|
|
Join Date: Aug 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Quote:
quote:Originally posted by zoenie
Technically the only way is to subclass it.
Tried it too and works, but can loose performance easily.
If you want a quick fix, just lay a label in the ssTab object and do this for every page.
After that change the label to the colour you want.
Basically the same effect and no performance loss.
|
Oh yeah, don't forget to send the label to the back in the sstab, so other objects will display on top of it!
|

September 22nd, 2005, 03:11 PM
|
Registered User
|
|
Join Date: Sep 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
well, you can make your interface using BMP's, and 100s of PICTURE controls
|
|
 |