Visual Basic Explorer
Visual Basic Explorer
 Navigation
 Home


 Coding
 Source Code

 FAQ Center

 VB Tips

 Downloads

 ToolBox

 Tutorials

 VB Games

 VB News

 VB Award

 VB Forums



 Affiliates
 Planet Source Code

 Rent a Coder

 DirectX4VB


 Misc
 Search

 Feedback

 Advertise

 About


Need to hire
a VB coder?

Please support our sponsor:

 Home 
 Site Map 
 Forums 
 News 
 Feedback 

 

Gradient Form Titlebar

 
Instructions:
Open up your project. Then add the module mdlGradTitle
and the form frmGradTitle(Make sure the frmGradTitle.frx
file is included as well, it contains the images necessary).

 
Open mdlGradTitle and specify the constant GT_HOW as what
you would like, "LtoR" for left to right or "TtoB" for top
to bottom. Then specify the color constants that you want
( GT_RED, GT_GREEN, and GT_BLUE. They all are RGB so the
number is 1 through 255). Open up frmGradTitle(You can name
it what ever you want) and change the Caption to what you want
the caption to be. Also set the MaxButton and MinButton to
what you want them to be(The module will read them and make
the gradient title using those properties). The form has a built
in unload the app function encoded in the imgCloseForm_MouseUp
function, if you take that out you will need to code a proper
unload routine because otherwise it will end up using a lot of
memory!!!!!!

 
You are all set now. Just call the form as you would a normal form.

 
Copyright:
This code and all code associated with this code is Copyright 1998
to Barry Jacobsen who is the Author. All Rights Reserved.

 
You take all responsibility for any thing that goes wrong while using this code.
You may redistribute the files contained within as long as you include this file
and all of the files included. For more information, contact Barry Jacobsen at
the_devil_software@rocketmail.com.


Downloads

In IE right-click and select 'Save Target As...' or in Netscape right-click and select 'Save Link As...'

 

View Plain Text View Plain Text
Download Demo Project Download Demo Project
View Code Online Not Available





Home | About | What's New | Source Code | FAQ | Tips & Tricks | Downloads | ToolBox | Tutorials | Game Programming | VB Award | Search | VB Forums | Feedback | VBNews | Copyright & Disclaimer | Advertise | Privacy Policy |

Quick searches: Site Search | Advanced Site Search 

Copyright 2002 by Exhedra Solutions, Inc.
By using this site you agree to its terms and conditions
VB Explorer and VBExplorer.com are trademarks of Exhedra Solutions, Inc.