Results for "Category: Custom Controls/ Forms/ Menus"
This code animates a glass cube moving on a picture in real-time. Almost the same as that Windows 95 screen saver (the moving glass boll). I though this code can help make a screen-saver like that. (You have to e-mail me a copy of that screen-saver please)
How to prevent a form/app from unloading , even if you use the taskmanager? Then try this code... (It works for me ;)
Draws a B-Spline over a PictureBox while the user inputs a series of points with the mouse. It also allows to drag the Control Points of the B-Spline to modify it
This is an enhancement of Gradient Title Bar module that recreates in Win95 the look of Win98. The original module was downloaded from: http://members.tripod.com/cuinl/Tips/gradienttitle.htm. I've added the choice to use System colours by including the respective API constants. I also have simplified the usage by adding the SetBarColours routine, before in the form, now in the module.
This is a full customizable message box. You can make your own form design, buttons, icons, sounds and buttons caption. Thanks to David Crowell ([email protected]) for his excellent DWButton.
This function create a transparent area of dirrent shape (such as rectangle, Circle) in your form, you specify where and how big the hole is. Unlike most other trnsparant routine, this one not only let you see trough it, but also allow you total access access the things in the hole!!! Of course, You can make the entire form transparent or make you form C - shaped! Fully tested in VB5 and VB6.
After seeing the "Elastic" post below, I thought I'd release my ElasticForms module 'cause this one actually *does* resize the components on the form (even lines). It's pretty tight, fast and it even allows you to set a min width and min height for a form. A zip containing the source and an example project can be found on my home page...
I provide an easy to create the non-rectangle form with usercontrol. We may use the control to design a non-rectange form or a desktop animation easily.
Learn to have fun with caption, eg: make it glow..... please visit my homepage 4 more app at http://www.cyberway.com.sg/~dyrws
What? Another marquee? Yep. Put into 1 class and 1 usercontrol file. Can contain separate text "blocks" each with it own forecolor. Use the mouse to drag the display from left to right (or right to left) during the scrolling (just in case you missed out something that scrolled away). Continuous scrolling (does NOT wait if the last block is out of view, then start the first block, BUT glues the first block to the last one, so you see no break). Can place separator between blocks. It looks like the BBC News ticker. Click event on each text "block", scroll speed, colours, font, etc. Just download and see for yourself. Need more convincing? Someone quoted this is the best marquee on PSC yet....
Analog Clock control where you can use your mouse to rotate the hours and minutes. Ideal to obtain time the graphical way from the user. Can also be used as a simple running time display. Left-Click and drag the minutes, Right-Click and drag the hours. Colours, fonts and some other attributes can be changed (look and see). This is just a usercontrol (ctl+ctx) file to include with your project, if you really want to, make your own ocx from it.
This is yet another submission for printing, loading from the file and saving to the file from Listview, ListBox, ComboBox and all one Forms textboxes controls. There are couple changes for part of this code. Check the explanations, please.
This code lets you to Print, Save to file, Load data from file to/from ListBox or ListView object.
This is something I made after seeing people request a way to make transparent forms. The nice thing about this though, is that it makes it so that all the controls are still visible! And it works with transparent shapes and lines too! This is a great way to make your programs stand out from the rest, you have to see it.
This code simply takes a picture of your desktop or a screenshot. I guess if you wanted to you could use this to view the desktop of a computer over a network, although that would be a bit slow. I hope this code is of some interest to some people Hope this helps.
As far as I know this only works in vb5 and above. I submited this code previously, but the link I provided was incorrect, and that fact has just now come to my attention, so I am now putting this back up. You can download it either from here or my site. Either is fine. To get it from my site go to http://www.vbtutor.com/downloads/docking.zip or just download it here. Check out my site: http://www.vbtutor.com
This code allows a ListView control to be sorted by Number or Date without having to use APIs (except to lock the screen)
This control, when placed on a form, will allow you to dynamically create menus at runtime. I have included the code for the OCX and a simple test harness.
This example demonstrates what most people using Graphics in VB really needs, the use of Transparent Images in your programs that can overlap each other (using BitBlt), like GIF images do for example! This is the Ultimate Demonstration Program and it's REALLY easy to use. All the lines have been commented and turned into functions so you can easily use them in your programs. The program also shows how you can flip your images horizontal and vertical with just a mouse-click and includes a really fast code for creating masks (which you need when dealing with Transparent Images). This is a "must have" code not only for the beginners but also for EVERYONE using Visual Basic!
This is a class module that allows a "Rebar", or an Internet Explorer style toolbar to be made. It subclasses the Rebar and can trigger events when the rebar is moved, resized, clicked, mouse moved, and a lot more. The rebar can hold any VB control, even UserControls. THIS IS NOT MY CODE! I am simply passing Ramon's code, which can be found at www.zonecorp.com His code made this sample possible! You can e-mail Ramon at [email protected]